Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion superset-frontend/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,10 @@ const config = {
menu: addPreamble('src/views/menu.tsx'),
spa: addPreamble('src/views/index.tsx'),
embedded: addPreamble('src/embedded/index.tsx'),
'service-worker': path.join(APP_DIR, 'src/service-worker.ts'),
// Skip service-worker build in dev mode to avoid overwriting the placeholder
...(isDevMode ? {} : {
'service-worker': path.join(APP_DIR, 'src/service-worker.ts'),
}),
Comment thread
rusackas marked this conversation as resolved.
Outdated
},
cache: {
type: 'filesystem',
Expand Down
Loading