diff options
author | 2022-08-19 21:23:31 +0200 | |
---|---|---|
committer | 2022-08-20 21:41:50 +0200 | |
commit | beda5138e018d9a853d57bd7274a35c21fa5c366 (patch) | |
tree | 3f6ff98c917db824a850c85eee7fbd76021adc27 /subprojects/frontend/.eslintrc.cjs | |
parent | feat(frontend): add PWA manifest (diff) | |
download | refinery-beda5138e018d9a853d57bd7274a35c21fa5c366.tar.gz refinery-beda5138e018d9a853d57bd7274a35c21fa5c366.tar.zst refinery-beda5138e018d9a853d57bd7274a35c21fa5c366.zip |
fix(frontend): destroy service worker in dev mode
If the application is run in both production and development mode on the
same domain, make sure to clean up the production service worker.
Diffstat (limited to 'subprojects/frontend/.eslintrc.cjs')
-rw-r--r-- | subprojects/frontend/.eslintrc.cjs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subprojects/frontend/.eslintrc.cjs b/subprojects/frontend/.eslintrc.cjs index 68636f4e..625aab7a 100644 --- a/subprojects/frontend/.eslintrc.cjs +++ b/subprojects/frontend/.eslintrc.cjs | |||
@@ -36,7 +36,7 @@ module.exports = { | |||
36 | env: { | 36 | env: { |
37 | browser: true, | 37 | browser: true, |
38 | }, | 38 | }, |
39 | ignorePatterns: ['build/**/*'], | 39 | ignorePatterns: ['build/**/*', 'dev-dist/**/*'], |
40 | rules: { | 40 | rules: { |
41 | // In typescript, some class methods implementing an inderface do not use `this`: | 41 | // In typescript, some class methods implementing an inderface do not use `this`: |
42 | // https://github.com/typescript-eslint/typescript-eslint/issues/1103 | 42 | // https://github.com/typescript-eslint/typescript-eslint/issues/1103 |