diff --git a/frontend/webcomponent/package.json b/frontend/webcomponent/package.json index 7187007..d19e0d8 100644 --- a/frontend/webcomponent/package.json +++ b/frontend/webcomponent/package.json @@ -4,6 +4,7 @@ "main": "index.js", "scripts": { "build": "npm install && rollup -c", + "build:watch": "npm install && rollup -c -w", "test:unit": "jest --forceExit --testPathPattern \"tests/unit\" --ci", "test:e2e": "playwright test", "lint": "eslint 'src/**/*.ts'" diff --git a/frontend/webcomponent/rollup.config.js b/frontend/webcomponent/rollup.config.js index bcc850d..903b142 100644 --- a/frontend/webcomponent/rollup.config.js +++ b/frontend/webcomponent/rollup.config.js @@ -61,7 +61,7 @@ export default { // toplevel: true // Enable top-level variable renaming // }, format: { - comments: false // Remove all comments + comments: !production } }), {