Skip to content

Commit 054add6

Browse files
authored
fix: Fix build + trigger build on test (#43)
* fix: Drop mini-css-extract-plugin types The problem is that those pull broken types for webpack meaning the project won't build anymore. * chore: Make sure project gets built on testing This way we capture build failures.
1 parent 541d504 commit 054add6

File tree

2 files changed

+1
-46
lines changed

2 files changed

+1
-46
lines changed

package-lock.json

Lines changed: 0 additions & 44 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"watch": "tsc --watch",
1515
"pretest": "npm run lint",
1616
"test": "npm run test:jest",
17-
"posttest": "npm run format",
17+
"posttest": "npm run format && npm run build",
1818
"lint": "eslint **/*.ts --cache --fix --ignore-path .gitignore",
1919
"format": "prettier --write \"**/*.{ts,md}\"",
2020
"test:jest": "jest",
@@ -44,7 +44,6 @@
4444
},
4545
"devDependencies": {
4646
"@types/jest": "^26.0.14",
47-
"@types/mini-css-extract-plugin": "^1.0.0",
4847
"@types/webpack-sources": "^2.0.0",
4948
"@typescript-eslint/eslint-plugin": "^2.26.0",
5049
"@typescript-eslint/parser": "^2.26.0",

0 commit comments

Comments
 (0)