update file readme.md
This commit is contained in:
@@ -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,
|
||||
}),
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user