We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95d486d commit 45f8714Copy full SHA for 45f8714
webpack.config.ts
@@ -1,6 +1,6 @@
1
-import { Configuration } from "webpack";
2
-
3
import TerserPlugin from "terser-webpack-plugin";
+import type { Configuration } from "webpack";
+
4
5
const config: Configuration = {
6
entry: "./src/lib.ts",
@@ -14,7 +14,7 @@ const config: Configuration = {
14
module: {
15
rules: [
16
{
17
- test: /\.ts$/i,
+ test: /\.ts$/iu,
18
use: [
19
20
loader: "babel-loader",
@@ -23,7 +23,7 @@ const config: Configuration = {
23
],
24
},
25
26
- test: /\.js$/i,
+ test: /\.js$/iu,
27
28
29
0 commit comments