diff --git a/astro.config.mjs b/astro.config.mjs index feb5496..f5c31fc 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -46,7 +46,7 @@ export default defineConfig({ }, }, }, - // Image: false, + Image: import.meta.env.PROD, // shows true or false JavaScript: terserOptions, SVG: { svgo: { diff --git a/eslint.config.js b/eslint.config.js index 13355d1..6ed6529 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -11,7 +11,7 @@ export default [ globals: { ...globals.browser, ...globals.node, - ...globals.es2020, // or es2022 ?? + ...globals.es2020, // TODO: decide which version is ok? es2020 or es2022 }, }, rules: {},