mirror of
https://github.com/estruyf/vscode-front-matter.git
synced 2026-03-28 17:42:40 +01:00
Add manifest
This commit is contained in:
@@ -56,6 +56,10 @@ const config = [{
|
||||
// because the `util` package expects there to be a global variable named `process`.
|
||||
// Thanks to https://stackoverflow.com/a/65018686/14239942
|
||||
process: 'process/browser'
|
||||
}),
|
||||
new WebpackManifestPlugin({
|
||||
publicPath: "",
|
||||
fileName: "dashboard.manifest.json"
|
||||
})
|
||||
],
|
||||
devServer: {
|
||||
@@ -82,11 +86,6 @@ module.exports = (env, argv) => {
|
||||
openAnalyzer: false
|
||||
}));
|
||||
|
||||
configItem.plugins.push(new WebpackManifestPlugin({
|
||||
publicPath: "",
|
||||
fileName: "dashboard.manifest.json"
|
||||
}));
|
||||
|
||||
configItem.optimization = {
|
||||
splitChunks: {
|
||||
chunks: 'all',
|
||||
|
||||
@@ -58,7 +58,12 @@ const config = [{
|
||||
performance: {
|
||||
hints: false
|
||||
},
|
||||
plugins: [],
|
||||
plugins: [
|
||||
new WebpackManifestPlugin({
|
||||
publicPath: "",
|
||||
fileName: "panel.manifest.json"
|
||||
})
|
||||
],
|
||||
devServer: {
|
||||
compress: true,
|
||||
port: 9001,
|
||||
@@ -94,11 +99,6 @@ module.exports = (env, argv) => {
|
||||
openAnalyzer: false
|
||||
}));
|
||||
|
||||
configItem.plugins.push(new WebpackManifestPlugin({
|
||||
publicPath: "",
|
||||
fileName: "panel.manifest.json"
|
||||
}));
|
||||
|
||||
configItem.optimization = {
|
||||
splitChunks: {
|
||||
chunks: 'all',
|
||||
|
||||
Reference in New Issue
Block a user