@attic/webpack-config

2.3.0 • Public • Published

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']
});

Dependencies (3)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @attic/webpack-config

    Weekly Downloads

    5

    Version

    2.3.0

    License

    Apache-2.0

    Last publish

    Collaborators

    • phae
    • rypan
    • mikegray
    • ahl
    • willhite
    • cmasone
    • mmoore
    • kalman
    • rafael-atticlabs
    • attic-ci
    • arv
    • aboodman