April 1, 2021
Using Webpack as browserify
My initial setup was bundling everything together into one javascript bundle, however, I wanted to lower the building time and get faster feedback loops. For this I am using shimming and EcmaScript 6 modules.
Shimming npm packages using webpack The default way (by webpack) of accessing modules (global variable), wasn’t my cup of tea, the current approach is inspired by this.
We first create the shim:
import * as mod from 'yamljs' if (!
Read more