Enabled persistent caching for Webpack.

This commit is contained in:
2021-07-24 01:39:26 -05:00
parent 4de4e8dfa1
commit c7bc6ca8fa
4 changed files with 26 additions and 2 deletions

View File

@@ -4,7 +4,8 @@
"scripts": {
"build": "webpack --config webpack.common.js",
"build:dev": "webpack --config webpack.dev.js",
"build:prod": "webpack --config webpack.prod.js"
"build:prod": "webpack --config webpack.prod.js",
"postinstall": "py ../scripts/npm_post_install.py"
},
"keywords": [],
"author": "",
@@ -35,4 +36,4 @@
"popmotion": "^9.4.0",
"simplebar": "^5.3.5"
}
}
}

View File

@@ -14,6 +14,12 @@ let config = {
providedExports: false,
splitChunks: false,
innerGraph: false,
},
cache: {
type: "filesystem",
buildDependencies: {
config: [__filename],
}
}
};