You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Peter Lenahan edited this page Jan 18, 2019
·
3 revisions
To customize webpack create a zimlet.config.js file in the root of your Zimlet which exports a function that will change webpack's config. To use a file other than zimlet.config.js, set a custom path as env.config.
/** * Function that mutates original webpack config. * * @param {object} config - original webpack config. * @param {object} env - options passed to CLI. **/exportdefaultfunction(config,env){/** you can change config here **/}