-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Introduce esbuild on webpack #14578
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduce esbuild on webpack #14578
Changes from 1 commit
1918c68
b938e47
31c2c97
113c2d4
28479bb
4a3f900
f7cbdc4
0083bda
ca2ff2c
1e11274
c3172e6
3a21b1e
ee9cd84
be0b41f
09b9801
f7fdee3
6093bb9
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -5,8 +5,11 @@ const CssMinimizerPlugin = require('css-minimizer-webpack-plugin'); | |||||
| const LicenseCheckerWebpackPlugin = require('license-checker-webpack-plugin'); | ||||||
| const MiniCssExtractPlugin = require('mini-css-extract-plugin'); | ||||||
| const MonacoWebpackPlugin = require('monaco-editor-webpack-plugin'); | ||||||
| const TerserPlugin = require('terser-webpack-plugin'); | ||||||
| const VueLoaderPlugin = require('vue-loader/lib/plugin'); | ||||||
| const { | ||||||
| ESBuildPlugin, | ||||||
| ESBuildMinifyPlugin | ||||||
| } = require('esbuild-loader'); | ||||||
| const {statSync} = require('fs'); | ||||||
lunny marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||
| const {resolve, parse} = require('path'); | ||||||
| const {SourceMapDevToolPlugin} = require('webpack'); | ||||||
|
|
@@ -78,13 +81,9 @@ module.exports = { | |||||
| optimization: { | ||||||
| minimize: isProduction, | ||||||
| minimizer: [ | ||||||
| new TerserPlugin({ | ||||||
| extractComments: false, | ||||||
| terserOptions: { | ||||||
| output: { | ||||||
| comments: false, | ||||||
| }, | ||||||
| }, | ||||||
| new ESBuildMinifyPlugin({ | ||||||
| target: 'es2015', // Syntax to compile to (see options below for possible values) | ||||||
|
||||||
| target: 'es2015', // Syntax to compile to (see options below for possible values) | |
| target: 'es2015', |
(there are no options below to see)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
^
(This comment was copied from the module README, should not be there)
Uh oh!
There was an error while loading. Please reload this page.