mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-07-28 09:39:41 +02:00
feature/improve-bundle-performance (#555)
* revert icon * chunk code for better performance / reduce request Co-authored-by: hay-kot <hay-kot@pm.me>
This commit is contained in:
parent
cc2d5ed982
commit
cdfb3543dc
13 changed files with 272 additions and 96 deletions
|
@ -1,5 +1,7 @@
|
|||
const path = require("path");
|
||||
const manifestJSON = require("./public/manifest.json");
|
||||
const PreloadWebpackPlugin = require("preload-webpack-plugin");
|
||||
|
||||
module.exports = {
|
||||
transpileDependencies: ["vuetify"],
|
||||
publicPath: process.env.NODE_ENV === "production" ? "/" : "/",
|
||||
|
@ -28,6 +30,7 @@ module.exports = {
|
|||
alias: {
|
||||
"@": path.resolve("src"),
|
||||
},
|
||||
plugins: [new PreloadWebpackPlugin({})],
|
||||
},
|
||||
},
|
||||
pwa: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue