File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ const webpack = require('webpack');
29
29
const PnpWebpackPlugin = require ( 'pnp-webpack-plugin' ) ;
30
30
const HtmlWebpackPlugin = require ( 'html-webpack-plugin' ) ;
31
31
const InlineChunkHtmlPlugin = require ( 'react-dev-utils/InlineChunkHtmlPlugin' ) ;
32
- const { ESBuildMinifyPlugin } = require ( 'esbuild-loader' ) ;
32
+ const { EsbuildPlugin } = require ( 'esbuild-loader' ) ;
33
33
const esbuild = require ( 'esbuild' ) ;
34
34
const MiniCssExtractPlugin = require ( 'mini-css-extract-plugin' ) ;
35
35
const CssMinimizerPlugin = require ( 'css-minimizer-webpack-plugin' ) ;
@@ -144,7 +144,7 @@ module.exports = {
144
144
} ,
145
145
optimization : {
146
146
minimizer : [
147
- new ESBuildMinifyPlugin ( {
147
+ new EsbuildPlugin ( {
148
148
target : 'es2015' ,
149
149
implementation : esbuild ,
150
150
minify : false ,
@@ -250,7 +250,6 @@ module.exports = {
250
250
use : {
251
251
loader : 'esbuild-loader' ,
252
252
options : {
253
- loader : 'jsx' ,
254
253
target : 'es2015' ,
255
254
legalComments : 'none'
256
255
}
You can’t perform that action at this time.
0 commit comments