🚀 use webpack.config.ts

This commit is contained in:
platane
2020-10-09 12:04:09 +02:00
committed by Platane
parent bb0750e8ba
commit bc18120a98
5 changed files with 504 additions and 373 deletions

View File

@@ -25,12 +25,14 @@ const config: Configuration = {
rules: [
{
exclude: /node_modules/,
test: /\.(js|ts)$/,
test: /\.ts$/,
loader: "ts-loader",
options: {
compilerOptions: {
lib: ["dom", "ES2020"],
target: "ES2020",
lib: ["dom", "es2020"],
target: "es2020",
module: "es2020",
moduleResolution: "node",
},
},
},