Add "awesome-typescript-loader" and "source-map-loader"
parent
6c4787ae0f
commit
3b5aafeb3c
File diff suppressed because it is too large
Load Diff
|
@ -31,12 +31,14 @@
|
|||
"node": ">=10.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"awesome-typescript-loader": "^5.2.1",
|
||||
"axios": "^0.21.0",
|
||||
"axios-cookiejar-support": "^1.0.1",
|
||||
"cheerio": "^1.0.0-rc.3",
|
||||
"log4js": "^6.3.0",
|
||||
"luxon": "^1.25.0",
|
||||
"md5": "^2.3.0",
|
||||
"source-map-loader": "^2.0.1",
|
||||
"tough-cookie": "^4.0.0",
|
||||
"typescript": "^4.2.0-beta"
|
||||
},
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
module: {
|
||||
loaders: [
|
||||
// All files with a '.ts' or '.tsx' extension will be handled by 'awesome-typescript-loader'.
|
||||
{ test: /\.tsx?$/, loader: "awesome-typescript-loader" }
|
||||
],
|
||||
|
||||
preLoaders: [
|
||||
// All output '.js' files will have any sourcemaps re-processed by 'source-map-loader'.
|
||||
{ test: /\.js$/, loader: "source-map-loader" }
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue