1.3.1 • Published 8 years ago

webpack-config-builder v1.3.1

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

webpack-config-builder

Split your webpack config into multiple smaller parts

Build Status Dependency Status devDependency Status codecov.io

Smaller is more maintainable

You all remember when we had Grunt everywhere? Our single Gruntfile kept getting growing and growing. Then we began splitting our Grunt configs. Now with Webpack we have to keep track of development, distribution config and if we're also targeting server, we're managing a lot of different config sharing some bits here and there.

Installation

npm install webpack-config-builder

Usage

var webpackConfigBuilder = require('webpack-config-builder');

webpackConfigBuilder();

Your webpack config is now a folder, whereas each property from the config can be written as a filename.

└── webpack
    └── base.js
    └── output.js
    └── module
        └── preLoaders.js
        └── loaders.js
    └── devServer.js
    └── port.js
    └── entry.js
    └── plugins.js

Options

var webpackConfigBuilder = require('webpack-config-builder');

webpackConfigBuilder({
  folder: './webpack',
  options: {},
});

License

MIT

1.3.1

8 years ago

1.3.0

8 years ago

1.2.2

8 years ago

1.2.1

8 years ago

1.1.0

8 years ago

1.0.0

8 years ago