mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
feat: accelerate webpack builds with filesystem cache (#28282)
This commit is contained in:
committed by
GitHub
parent
e4f93b293f
commit
ec8351d336
@@ -212,6 +212,13 @@ const config = {
|
||||
spa: addPreamble('/src/views/index.tsx'),
|
||||
embedded: addPreamble('/src/embedded/index.tsx'),
|
||||
},
|
||||
cache: {
|
||||
type: 'filesystem', // Enable filesystem caching
|
||||
cacheDirectory: path.resolve(__dirname, '.temp_cache'),
|
||||
buildDependencies: {
|
||||
config: [__filename],
|
||||
},
|
||||
},
|
||||
output,
|
||||
stats: 'minimal',
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user