@nuvolo/webpack-config

Nuvolo Webpack Configuration

Usage no npm install needed!

<script type="module">
  import nuvoloWebpackConfig from 'https://cdn.skypack.dev/@nuvolo/webpack-config';
</script>

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;