1.5.0 • Published 9 years ago
@moodxd/webpack-common-config v1.5.0
webpack-common-config
Our base webpack configuration that is importable into a local webpack config file, extensible, and customizable, with reasonable Laravel based defaults.
Why?
To ensure that the moo.com laravel project across all sections has a unified and generic webpack configuration, we want to have an npm/artifactory module which we can pull into any section with ease.
How?
Installation
This requires setting up your local npm https/ssl access for using our private repos
npm install mutualofomaha/webpack-common-config
Usage
In local webpack configuration file, you will require()
this node module into the config.
webpack.config.js
let commonConfig = require('webpack-common-config');
const modules = {
leadgenerationpages: 'index.js'
};
let config = commonConfig(modules);
module.exports = config;