File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change 6
6
* the root directory of this source tree.
7
7
*/
8
8
var configuration = require ( './base.config.js' ) ;
9
- var HtmlWebpackPlugin = require ( 'html-webpack-plugin' ) ;
10
- var path = require ( 'path' ) ;
11
9
12
10
configuration . entry = {
13
11
dashboard : './dashboard/index.js' ,
14
12
login : './login/index.js' ,
15
13
PIG : './parse-interface-guide/index.js' ,
16
14
quickstart : './quickstart/index.js' ,
17
15
} ;
18
- configuration . output . path = path . resolve ( './production/bundles' ) ;
19
- configuration . output . filename = "[name].[chunkhash].js" ;
16
+ configuration . output . path = require ( 'path' ) . resolve ( './production/bundles' ) ;
20
17
21
18
var webpack = require ( 'webpack' ) ;
22
19
@@ -33,10 +30,6 @@ configuration.plugins.push(
33
30
}
34
31
} ) ,
35
32
new webpack . optimize . OccurrenceOrderPlugin ( ) ,
36
- new HtmlWebpackPlugin ( {
37
- template : '../Parse-Dashboard/index.template.html' ,
38
- filename : path . resolve ( './Parse-Dashboard/index.html' )
39
- } ) ,
40
33
function ( ) {
41
34
this . plugin ( 'done' , function ( stats ) {
42
35
if ( stats . compilation . errors && stats . compilation . errors . length ) {
You can’t perform that action at this time.
0 commit comments