Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var HtmlWebpackPluginArray = [new HtmlWebpackPlugin({
- title: "TV Grid_1---",
- template: APP_DIR + '/index.template.ejs',
- filename: "grid_1.html",
- minify: {
- collapseWhitespace: true,
- removeComments: true,
- removeRedundantAttributes: true,
- removeScriptTypeAttributes: true,
- removeStyleLinkTypeAttributes: true
- }
- }), new HtmlWebpackPlugin({
- title: "TV Grid_2---",
- template: APP_DIR + '/index.template.ejs',
- filename: "grid_2.html",
- minify: {
- collapseWhitespace: true,
- removeComments: true,
- removeRedundantAttributes: true,
- removeScriptTypeAttributes: true,
- removeStyleLinkTypeAttributes: true
- }
- })];
- plugins: [
- new CleanWebpackPlugin(DIST_PATH),
- new ExtractTextPlugin({
- filename: 'styles.[chunkhash].css',
- // disable: false,
- allChunks: true
- }),
- // new webpack.HashedModuleIdsPlugin(),
- new webpack.optimize.CommonsChunkPlugin({
- name: 'vendor',
- filename: 'vendor.[chunkhash].js'
- }),
- new webpack.optimize.CommonsChunkPlugin({
- name: 'manifest'
- }),
- new webpack.ProvidePlugin({
- $: "jquery",
- jQuery: "jquery"
- }),
- HtmlWebpackPluginArray,
- ]
- TypeError: arguments[i].apply is not a function
Add Comment
Please, Sign In to add comment