summaryrefslogtreecommitdiff
path: root/webpack.config.js
diff options
context:
space:
mode:
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: {