Skip to content

Commit 9ad868c

Browse files
Rollback changes on production webpack config
1 parent 7b069e4 commit 9ad868c

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

webpack/production.config.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,14 @@
66
* the root directory of this source tree.
77
*/
88
var configuration = require('./base.config.js');
9-
var HtmlWebpackPlugin = require('html-webpack-plugin');
10-
var path = require('path');
119

1210
configuration.entry = {
1311
dashboard: './dashboard/index.js',
1412
login: './login/index.js',
1513
PIG: './parse-interface-guide/index.js',
1614
quickstart: './quickstart/index.js',
1715
};
18-
configuration.output.path = path.resolve('./production/bundles');
19-
configuration.output.filename = "[name].[chunkhash].js";
16+
configuration.output.path = require('path').resolve('./production/bundles');
2017

2118
var webpack = require('webpack');
2219

@@ -33,10 +30,6 @@ configuration.plugins.push(
3330
}
3431
}),
3532
new webpack.optimize.OccurrenceOrderPlugin(),
36-
new HtmlWebpackPlugin({
37-
template: '../Parse-Dashboard/index.template.html',
38-
filename: path.resolve('./Parse-Dashboard/index.html')
39-
}),
4033
function() {
4134
this.plugin('done', function(stats) {
4235
if (stats.compilation.errors && stats.compilation.errors.length) {

0 commit comments

Comments
 (0)