This is way too much time to spend on linters

This commit is contained in:
2020-08-24 04:08:11 +02:00
parent 69ebed5c7e
commit 0c880a7b4e
23 changed files with 1748 additions and 200 deletions

View File

@@ -1,5 +1,5 @@
import path from "path";
import webpack from "webpack"; // tslint:disable-line:no-implicit-dependencies
import webpack from "webpack";
const config: webpack.Configuration = {
mode: "development",
@@ -8,28 +8,28 @@ const config: webpack.Configuration = {
output: {
filename: "[name].bundle.js",
path: path.resolve(__dirname, "dist"),
publicPath: "/assets/"
publicPath: "/assets/",
},
module: {
rules: [
{
exclude: /node_modules/,
loader: "ts-loader",
test: /\.tsx?$/
}
]
test: /\.tsx?$/,
},
],
},
resolve: {
extensions: [".ts", ".tsx", ".js"],
alias: {
"@kredens": path.resolve(__dirname, "src/")
}
"@kredens": path.resolve(__dirname, "src/"),
},
},
plugins: [
new webpack.DefinePlugin({
API_URL: JSON.stringify("http://localhost:3000/api/")
})
]
API_URL: JSON.stringify("http://localhost:3000/api/"),
}),
],
};
export default config;