1
0
Fork 0
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:
Hayden 2021-06-17 15:19:37 -08:00 committed by GitHub
parent cc2d5ed982
commit cdfb3543dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 272 additions and 96 deletions

View file

@ -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: {