create-packer 1.24.36 → 1.24.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -79,7 +79,7 @@ export default function (env) {
|
|
|
79
79
|
test: /\.[jt]sx?$/,
|
|
80
80
|
loader: 'esbuild-loader',
|
|
81
81
|
options: {
|
|
82
|
-
target: '
|
|
82
|
+
target: 'chrome82',
|
|
83
83
|
drop: isProd ? ['console', 'debugger'] : []
|
|
84
84
|
}
|
|
85
85
|
},
|
|
@@ -118,11 +118,7 @@ export default function (env) {
|
|
|
118
118
|
env.mode === 'analyzer' && new BundleAnalyzerPlugin()
|
|
119
119
|
],
|
|
120
120
|
optimization: {
|
|
121
|
-
minimizer: [
|
|
122
|
-
new EsbuildPlugin({
|
|
123
|
-
target: 'chrome82'
|
|
124
|
-
})
|
|
125
|
-
],
|
|
121
|
+
minimizer: [new EsbuildPlugin()],
|
|
126
122
|
splitChunks: {
|
|
127
123
|
minChunks: 1,
|
|
128
124
|
cacheGroups: {
|