mirror of
https://github.com/wallabag/wallabag.git
synced 2025-01-22 14:48:08 +00:00
Update for webpack-manifest-plugin
This commit is contained in:
parent
59fb0263fc
commit
92b14a3536
2 changed files with 9 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
const webpack = require('webpack');
|
||||
const { merge } = require('webpack-merge');
|
||||
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
|
||||
const ManifestPlugin = require('webpack-manifest-plugin');
|
||||
const { WebpackManifestPlugin } = require('webpack-manifest-plugin');
|
||||
const TerserPlugin = require('terser-webpack-plugin');
|
||||
|
||||
const commonConfig = require('./common.js');
|
||||
|
@ -33,7 +33,7 @@ module.exports = merge(commonConfig, {
|
|||
NODE_ENV: JSON.stringify('production'),
|
||||
},
|
||||
}),
|
||||
new ManifestPlugin({
|
||||
new WebpackManifestPlugin({
|
||||
fileName: 'manifest.json',
|
||||
}),
|
||||
],
|
||||
|
|
|
@ -1,10 +1,17 @@
|
|||
{
|
||||
"material.css": "material.css",
|
||||
"material.js": "material.js",
|
||||
"material.png": "img/annotator-glyph-sprite.png",
|
||||
"material.css.map": "material.css.map",
|
||||
"material.js.map": "material.js.map",
|
||||
"baggy.css": "baggy.css",
|
||||
"baggy.js": "baggy.js",
|
||||
"baggy.png": "img/annotator-glyph-sprite.png",
|
||||
"baggy.css.map": "baggy.css.map",
|
||||
"baggy.js.map": "baggy.js.map",
|
||||
"public.css": "public.css",
|
||||
"public.js": "public.js",
|
||||
"public.css.map": "public.css.map",
|
||||
"fonts/lato-normal-italic.woff": "fonts/lato-normal-italic.woff",
|
||||
"fonts/lato-semibold-italic.woff": "fonts/lato-semibold-italic.woff",
|
||||
"fonts/lato-medium-italic.woff": "fonts/lato-medium-italic.woff",
|
||||
|
|
Loading…
Reference in a new issue