Created
December 5, 2016 02:54
-
-
Save guzmonne/9767a7ee81edff27630adef5e7f88833 to your computer and use it in GitHub Desktop.
AWS.Request - hjs-webpack config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const getConfig = require('hjs-webpack') | |
const webpack = require('webpack') | |
const Visualizer = require('webpack-visualizer-plugin'); | |
const config = getConfig({ | |
// Entry point for the app. | |
in: 'src/index.js', | |
// Name of the output directory | |
out: 'public', | |
output: { | |
// The filename of our output bundle | |
filename: 'app.js', | |
}, | |
// Reset our outpus folder on each build. | |
clearBeforeBuild: true, | |
}) | |
config.plugins.push(new Visualizer()) | |
module.exports = config |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment