Hash name is not correct on prod

pull/395/head
Rick Carlino 2017-08-10 10:26:17 -05:00
parent e3e8a5f0a8
commit 71283dbafb
2 changed files with 2 additions and 0 deletions

View File

@ -1,3 +1,4 @@
<%= render "addons" %>
<meta content="width=device-width, initial-scale=1" name="viewport">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">

View File

@ -10,6 +10,7 @@ var OptimizeCssAssetsPlugin = require("optimize-css-assets-webpack-plugin");
var UglifyJsPlugin = require("webpack-uglify-js-plugin");
module.exports = function (config) {
console.log("INSIDE PRODUCTION WEBPACK CONFIG!");
config.output.filename = '[name]-[chunkhash].js';
// PLUGINS:
[