chore: only use astroswglobals in sw.mjs
This commit is contained in:
parent
cf0e3893df
commit
dcf5afcbec
1 changed files with 8 additions and 1 deletions
|
@ -20,7 +20,6 @@ export default [
|
|||
globals: {
|
||||
...globals.browser,
|
||||
...globals.node,
|
||||
...astroSwGlobals,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
@ -43,4 +42,12 @@ export default [
|
|||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
files: ['**/sw.mjs'],
|
||||
languageOptions: {
|
||||
globals: {
|
||||
...astroSwGlobals,
|
||||
},
|
||||
},
|
||||
},
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue