@nuvolo/webpack-config
v0.1.4
Published
Nuvolo Webpack Configuration
Downloads
4
Keywords
Readme
webpack-config
Webpack configuration for Nuvolo React Apps
Set up webpack config
const path = require('path');
const {genWebpackConfig} = require('@nuvolo/webpack-config');
const options = {
/* Path to .env file from webpack config */
envPath:path.resolve('../../.env'),
/* Path to files we want to serve */
servePath:path.resolve('./dist')
}
const config = genWebpackConfig(options);
// make any desired changes...
module.exports = config;