refactor(rollup): dont serve example files for builds

This commit is contained in:
moklick
2021-01-11 11:07:11 +01:00
parent de81743350
commit e07ed90fe5
4 changed files with 214 additions and 89 deletions
+1 -1
View File
@@ -16,7 +16,7 @@
"build:examples": "rollup -c rollup.examples.js --environment NODE_ENV:production",
"dev": "npm run start:examples",
"start:testserver": "npm run build && rollup -c rollup.examples.js -w --environment NODE_ENV:testing",
"build:dev": "npm i --legacy-deps && npm run build:examples",
"build:dev": "npm install && npm run build:examples",
"dev:wait": "start-server-and-test start:testserver http-get://localhost:3000",
"test": "npm run dev:wait test:chrome",
"test:chrome": "cypress run --browser chrome --headless",