Skip to content

Commit c292018

Browse files
authored
Merge pull request #14678 from rtibbles/hot_places_use_different_cache
Conditionalize webpack cache by hot/transpile to prevent errors.
2 parents e4001e0 + 0c0d860 commit c292018

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

packages/kolibri-build/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "kolibri-build",
3-
"version": "1.1.0",
3+
"version": "1.1.1",
44
"description": "Build tools and webpack configuration for Kolibri",
55
"repository": {
66
"type": "git",
@@ -52,4 +52,4 @@
5252
"node": ">= 20.19.0",
5353
"npm": ">= 8"
5454
}
55-
}
55+
}

packages/kolibri-build/src/webpack.config.base.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ module.exports = ({ mode = 'development', hot = false, cache = false, transpile
101101
mode,
102102
cache: cache && {
103103
type: 'filesystem',
104-
version: '1.0.0',
104+
version: `1.0.0-${hot ? 'hot' : 'nothot'}-${transpile ? 'transpiled' : 'source'}`,
105105
buildDependencies: {
106106
config: [__filename],
107107
},

0 commit comments

Comments
 (0)