summaryrefslogtreecommitdiff
path: root/webpack.config.js
diff options
context:
space:
mode:
authorjulian laplace <julescarbon@gmail.com>2023-05-09 19:26:47 +0200
committerjulian laplace <julescarbon@gmail.com>2023-05-09 19:26:47 +0200
commitd13f2873d53f615b2d497ab1e6d0fc12159a804a (patch)
treefdd0e6e11f57537d1236bfa3cf361adbcf0d77a3 /webpack.config.js
parent72b3b1fff01bcd20b3a79144d02455dfc9d6367a (diff)
add controls
Diffstat (limited to 'webpack.config.js')
-rw-r--r--webpack.config.js11
1 files changed, 10 insertions, 1 deletions
diff --git a/webpack.config.js b/webpack.config.js
index 77a732a..531d909 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -4,7 +4,7 @@ const HtmlWebpackPlugin = require("html-webpack-plugin");
module.exports = {
mode: "production",
entry: "./src/index.jsx",
- devtool: 'eval-source-map',
+ devtool: "eval-source-map",
module: {
rules: [
{
@@ -12,6 +12,15 @@ module.exports = {
exclude: /node_modules/,
loader: "babel-loader",
},
+ {
+ test: /\.(css)$/,
+ use: ["style-loader", "css-loader"],
+ },
+ {
+ test: /\.tsx?$/,
+ use: 'ts-loader',
+ exclude: /node_modules/,
+ },
],
},
performance: {