Added webpack-manifest plugin

This commit is contained in:
Arik Fraimovich 2018-02-07 14:15:21 +02:00
parent d81af63f24
commit 95f4d993b7
3 changed files with 68 additions and 934 deletions

995
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -87,6 +87,7 @@
"url-loader": "^0.5.9",
"webpack": "^3.6.0",
"webpack-build-notifier": "^0.1.16",
"webpack-dev-server": "^2.9.1"
"webpack-dev-server": "^2.9.1",
"webpack-manifest-plugin": "^1.3.2"
}
}

View File

@ -4,6 +4,7 @@ const webpack = require('webpack');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const ExtractTextPlugin = require("extract-text-webpack-plugin");
const WebpackBuildNotifierPlugin = require('webpack-build-notifier');
const ManifestPlugin = require('webpack-manifest-plugin');
const LessPluginAutoPrefix = require('less-plugin-autoprefix');
const path = require('path');
@ -58,6 +59,9 @@ const config = {
}),
new ExtractTextPlugin({
filename: 'styles.[chunkhash].css'
}),
new ManifestPlugin({
fileName: 'asset-manifest.json'
})
],