Improve service worker (#1353)
* Improve service worker - Add new env variable in WebPack "NODE_ENV" - Add new service worker for mode dev that permit to by pass response in cache storage - Add new WorkAdventure icon * Remove console.log * Add service worker file prod and dev
This commit is contained in:
@@ -201,6 +201,7 @@ module.exports = {
|
||||
MAX_USERNAME_LENGTH: 8,
|
||||
MAX_PER_GROUP: 4,
|
||||
DISPLAY_TERMS_OF_USE: false,
|
||||
NODE_ENV: "development",
|
||||
}),
|
||||
],
|
||||
} as Configuration & WebpackDevServer.Configuration;
|
||||
|
||||
Reference in New Issue
Block a user