Last active
November 21, 2015 00:36
-
-
Save kevinrobinson/137338624e16b3ee8ebb to your computer and use it in GitHub Desktop.
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
| { | |
| ... | |
| output: { | |
| path: outputPath, | |
| publicPath: "https://cnd.com/production/js/", // hostname needs to match Rails config | |
| filename: '[name]-[chunkhash].js' | |
| }, | |
| plugins: [ | |
| new AssetsPlugin({ path: outputPath }), | |
| new webpack.optimize.UglifyJsPlugin(), | |
| new webpack.optimize.OccurenceOrderPlugin(true) | |
| ] | |
| ... | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment