@pohodnik/webpack-config

1.3.9 • Public • Published

webpack-config

Pohodnik webpack configuration for frontend build

install

yarn add -D @pohodnik/webpack-config

usage

In root of your project file webpack.config.js

const { createConfig } = require('@pohodnik/webpack-config');

module.exports = createConfig({
    // local webpack config extends @pohodnik/webpack-config
});

or

const { createConfig } = require('@pohodnik/webpack-config');

module.exports = createConfig(argv => {
    if (argv.mode === 'production') {
        return {
            // ...
        }
    }
});

Package Sidebar

Install

npm i @pohodnik/webpack-config

Weekly Downloads

0

Version

1.3.9

License

MIT

Unpacked Size

12.4 kB

Total Files

9

Last publish

Collaborators

  • pohodnik58
  • xneek