fix build

This commit is contained in:
Jérémy Munsch 2023-06-01 14:56:28 +02:00
parent 3934d0b6cb
commit 7f566c6f12
No known key found for this signature in database
GPG key ID: 18361AF3BFEC0FEC

View file

@ -31,7 +31,7 @@
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"prod": "npm run build",
"build": "rm -rf ./dist/{esm,typings} && webpack --progress && npm run buildbrowser",
"build": "rm -rf ./dist/esm && rm -rf ./dist/esm && webpack --progress && npm run buildbrowser",
"buildbrowser": "rm -rf ./dist/browser && node ./node_modules/.bin/rollup --bundleConfigAsCjs -c rollup.config.js",
"prebuild": "npm run stylelint && npm run eslint && tsc -p ./tsconfig.json",
"eslint": "node ./node_modules/.bin/eslint --max-warnings 0 -c .eslintrc.json ./src",