Files
dolt/jsmodules/webpack-config
Ben Kalman 11c79b2d56 Add run.py script to jsmodules/webpack-config (#1243)
This is intended to replace simpler uses of .npm_run_helper.py, then
    I'll continually migrate views until they can use the simpler form.
    Currently it will only be Splore that uses it.
2016-04-13 16:31:08 -07:00
..

webpack-config is the shared webpack config for noms.

To use without changing the default configuration - fine for most purposes - just run webpack like:

node_modules/.bin/webpack --config node_modules/@attic/webpack-config/index.js ...

webpack-config can also be configured (see configure in index.js), then required as part of a different webpack config, like:

// my.webpack.config.js

module.exports = require('@attic/webpack-config').configure({
  requiredEnvVars: ['MY_ENV_VARIABLE']
});