2.0.1 • Published 8 years ago

webpack-simple-conf v2.0.1

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

webpack-simple-conf

This module helps to reduce the overloaded webpack configuration, dependencies management.

No more webpack hell configuration for simple bundles.

npm install webpack-simple-conf --save-dev

Usage

  1. Create a file in the root folder webpack.conf.js and add the following code.
    const configuration = require('webpack-simple-conf');
    const webpackConf = configuration(
    './src/index.js',
    'index.min.js',
    'myAppFoo',
    'umd');
    module.exports = webpackConf;
  1. Run webpack in the root folder webpack --config webpack.conf.js
  2. See output file on dist/index.min.js

Options

The module returns a function, it accepts 4 parameters.

  1. The entry point file
  2. The output name
  3. The name of the library
  4. The library target
2.0.1

8 years ago

2.0.0

8 years ago

1.0.7

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago