Skip to content

Commit 975fa8b

Browse files
committed
[sc-11365] configure ts-loader
1 parent 4f644b6 commit 975fa8b

8 files changed

+252
-283
lines changed

package-lock.json

+114-175
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+4-3
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@
3737
"src"
3838
],
3939
"scripts": {
40-
"build": "npm run test && ./node_modules/webpack-cli/bin/cli.js",
41-
"build:new": "webpack",
40+
"build": "tsc && npm run test && webpack",
41+
"watch": "webpack --watch",
42+
"watch:tsc": "tsc --watch",
4243
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"",
4344
"test": "./node_modules/mocha/bin/mocha.js --recursive --require @babel/register",
44-
"watch": "./node_modules/webpack-cli/bin/cli.js --watch",
4545
"lint": "eslint . --ext .ts,.js",
4646
"lint:fix": "eslint . --ext .ts,.js --fix",
4747
"lint:watch": "nodemon --exec 'npm run lint' --watch src --ext ts"
@@ -72,6 +72,7 @@
7272
"nodemon": "^3.1.9",
7373
"prettier": "^3.3.3",
7474
"terser-webpack-plugin": "^5.3.1",
75+
"ts-loader": "^9.5.1",
7576
"typescript": "^5.7.2",
7677
"typescript-eslint": "^8.18.1",
7778
"uglify-js": "^3.12.0",

0 commit comments

Comments
 (0)