update file readme.md
This commit is contained in:
@@ -87,7 +87,7 @@ Ví dụ:
|
|||||||
},
|
},
|
||||||
module: {
|
module: {
|
||||||
rules: [
|
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,
|
minimize: true,
|
||||||
minimizer: [
|
minimizer: [
|
||||||
new TerserPlugin({
|
new TerserPlugin({
|
||||||
test: /\.js(\?.*)?$/i,
|
test: /.js(?.*)?$/i,
|
||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user