diff --git a/docs/adding_lux.md b/docs/adding_lux.md index 30b96f1..8bb5ddf 100644 --- a/docs/adding_lux.md +++ b/docs/adding_lux.md @@ -119,13 +119,6 @@ If you can't use an import map and have to use ` ``` diff --git a/vite.config.js b/vite.config.js index ab11c10..a47d399 100644 --- a/vite.config.js +++ b/vite.config.js @@ -26,6 +26,7 @@ export default defineConfig({ hook: "writeBundle", }), ], + define: { "process.env.NODE_ENV": '"production"' }, build: { lib: { // Could also be a dictionary or array of multiple entry points