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;