Fix Compilation
This commit is contained in:
parent
7f566c6f12
commit
e6cf43b88f
2 changed files with 3 additions and 3 deletions
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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: {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue