Fix Compilation

This commit is contained in:
Jérémy Munsch 2023-06-01 15:02:51 +02:00
parent 7f566c6f12
commit e6cf43b88f
No known key found for this signature in database
GPG key ID: 18361AF3BFEC0FEC
2 changed files with 3 additions and 3 deletions

View file

@ -31,9 +31,9 @@
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"prod": "npm run build",
"build": "rm -rf ./dist/esm && rm -rf ./dist/esm && webpack --progress && npm run buildbrowser",
"build": "rm -rf ./dist/umd && 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",
"prebuild": "npm run stylelint && npm run eslint && rm -rf ./dist/typings && rm -rf ./dist/esm && tsc -p ./tsconfig.json",
"eslint": "node ./node_modules/.bin/eslint --max-warnings 0 -c .eslintrc.json ./src",
"eslint-fix": "node ./node_modules/.bin/eslint --fix --max-warnings 0 -c .eslintrc.json ./src",
"eslint-ci": "node ./node_modules/.bin/eslint --max-warnings 0 -c .eslintrc.json ./src -f junit",

View file

@ -5,7 +5,7 @@ module.exports = (env, argv) => {
devtool: "source-map",
mode: argv.mode === "production" ? "production" : "development",
entry: [
path.resolve(__dirname, "./dist/esm/index.js"),
path.resolve(__dirname, "./src/ts/index.ts"),
path.resolve(__dirname, "./src/scss/themes/standard.scss")
],
output: {