Skip to content

Commit 45f8714

Browse files
committed
format webpack.config.ts
1 parent 95d486d commit 45f8714

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

webpack.config.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { Configuration } from "webpack";
2-
31
import TerserPlugin from "terser-webpack-plugin";
2+
import type { Configuration } from "webpack";
3+
44

55
const config: Configuration = {
66
entry: "./src/lib.ts",
@@ -14,7 +14,7 @@ const config: Configuration = {
1414
module: {
1515
rules: [
1616
{
17-
test: /\.ts$/i,
17+
test: /\.ts$/iu,
1818
use: [
1919
{
2020
loader: "babel-loader",
@@ -23,7 +23,7 @@ const config: Configuration = {
2323
],
2424
},
2525
{
26-
test: /\.js$/i,
26+
test: /\.js$/iu,
2727
use: [
2828
{
2929
loader: "babel-loader",

0 commit comments

Comments
 (0)