Skip to content

Commit

Permalink
cache build
Browse files Browse the repository at this point in the history
  • Loading branch information
inker committed Mar 9, 2024
1 parent 5af8ffc commit cdd498f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions build/webpack/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,13 @@ module.exports = env => {
globalObject: isDev ? 'this' : undefined, // TODO
hashDigest: 'base64url',
},
cache: {
type: 'filesystem',
store: 'pack',
buildDependencies: {
config: [__filename],
},
},
resolve: {
extensions: ['.ts', '.tsx', '.js', '.jsx'],
alias: isDev
Expand Down

0 comments on commit cdd498f

Please sign in to comment.