dq-webpack

1.3.5 • Public • Published

Digitalquill webpack config

This package contains common config for webpack

Usage

```javascript
const buildBaseConfig = require('dq-webpack');

const baseConfig = buildBaseConfig(__dirname, {});

const config = baseConfig.merge({

  entry: {
    myEntry: pathToEntryFile,
  },

  anyOtherWebpackOption: {},

});

// Add custom config for production
if (process.env.APP_ENV === 'production') {
  config.merge({
  });
}

module.exports = config;
```

Readme

Keywords

Package Sidebar

Install

npm i dq-webpack

Weekly Downloads

1

Version

1.3.5

License

ISC

Unpacked Size

6.85 kB

Total Files

5

Last publish

Collaborators

  • staskjs