Skip to content

Commit

Permalink
format webpack.config.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
magiclen committed Oct 21, 2024
1 parent 95d486d commit 45f8714
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions webpack.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Configuration } from "webpack";

import TerserPlugin from "terser-webpack-plugin";
import type { Configuration } from "webpack";


const config: Configuration = {
entry: "./src/lib.ts",
Expand All @@ -14,7 +14,7 @@ const config: Configuration = {
module: {
rules: [
{
test: /\.ts$/i,
test: /\.ts$/iu,
use: [
{
loader: "babel-loader",
Expand All @@ -23,7 +23,7 @@ const config: Configuration = {
],
},
{
test: /\.js$/i,
test: /\.js$/iu,
use: [
{
loader: "babel-loader",
Expand Down

0 comments on commit 45f8714

Please sign in to comment.