Add "awesome-typescript-loader" and "source-map-loader"

pull/73/head
MillenniumEarl 2021-02-13 15:17:28 +01:00
parent 6c4787ae0f
commit 3b5aafeb3c
3 changed files with 1304 additions and 24 deletions

1315
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -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"
},

11
webpack.config.js Normal file
View File

@ -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" }
]
}