longterm hashing FTW 🎆
This commit is contained in:
parent
c7fe4d450f
commit
13c7d57ef4
@ -24,6 +24,7 @@
|
||||
"ghooks": "1.3.2",
|
||||
"html-webpack-plugin": "2.22.0",
|
||||
"http-server": "0.9.0",
|
||||
"inline-manifest-webpack-plugin": "3.0.1",
|
||||
"karma": "1.1.2",
|
||||
"karma-chai": "0.1.0",
|
||||
"karma-chrome-launcher": "1.0.1",
|
||||
|
||||
@ -3,6 +3,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>VanillaJS • TodoMVC</title>
|
||||
<%=htmlWebpackPlugin.files.webpackManifest%>
|
||||
</head>
|
||||
<body>
|
||||
<section class="todoapp">
|
||||
|
||||
@ -3,6 +3,7 @@ const {resolve} = require('path')
|
||||
const webpack = require('webpack')
|
||||
const ProgressBarPlugin = require('progress-bar-webpack-plugin')
|
||||
const HtmlWebpackPlugin = require('html-webpack-plugin')
|
||||
const InlineManifestWebpackPlugin = require('inline-manifest-webpack-plugin')
|
||||
const webpackValidator = require('webpack-validator')
|
||||
const {getIfUtils, removeEmpty} = require('webpack-config-utils')
|
||||
|
||||
@ -28,8 +29,9 @@ module.exports = env => {
|
||||
},
|
||||
plugins: removeEmpty([
|
||||
new ProgressBarPlugin(),
|
||||
ifProd(new InlineManifestWebpackPlugin()),
|
||||
ifProd(new webpack.optimize.CommonsChunkPlugin({
|
||||
name: 'vendor',
|
||||
names: ['vendor', 'manifest'],
|
||||
})),
|
||||
new HtmlWebpackPlugin({
|
||||
template: './index.html',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user