About page not working #1265

This commit is contained in:
Eugenio Romano
2016-12-15 10:56:12 +00:00
parent ce8b4206c8
commit 5b1a942025
4 changed files with 32 additions and 11 deletions

View File

@@ -5,6 +5,7 @@ var helpers = require('./helpers');
var path = require('path');
var fs = require('fs');
var glob = require('glob');
var CopyWebpackPlugin = require('copy-webpack-plugin');
const rootPath = helpers.root('node_modules');
@@ -108,7 +109,13 @@ plugins: [
new webpack.ProvidePlugin({
'dialogPolyfill': 'dialog-polyfill/dialog-polyfill'
}),
new CopyWebpackPlugin([
{
from: 'versions.json'
}
]),
new webpack.optimize.CommonsChunkPlugin({
name: ['app', 'vendor', 'polyfills']
}),