update file readme.md

This commit is contained in:
2023-04-05 14:52:26 +07:00
parent e25b4be998
commit 0cb2a09109

View File

@@ -87,7 +87,7 @@ Ví dụ:
},
module: {
rules: [
{ test: /\.tsx?$/, use: 'ts-loader' },
{ test: /.tsx?$/, use: 'ts-loader' },
]
},
// ...
@@ -145,7 +145,7 @@ Thêm các dòng bên dưới vào file webpack.config.js để tối ưu hóa
minimize: true,
minimizer: [
new TerserPlugin({
test: /\.js(\?.*)?$/i,
test: /.js(?.*)?$/i,
}),
],
},