chore(deps): update dependency esbuild-loader to v3 (main) (#18883)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
This commit is contained in:
renovate[bot] 2023-02-08 04:09:30 -08:00 committed by GitHub
parent c936bc7187
commit 9f3b38ca37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 20 deletions

View File

@ -23,7 +23,7 @@
"css-loader": "^6.7.3",
"css-minimizer-webpack-plugin": "^4.2.2",
"cssnano": "^5.1.14",
"esbuild-loader": "^2.21.0",
"esbuild-loader": "^3.0.0",
"escape-string-regexp": "^5.0.0",
"estree-walker": "^3.0.3",
"file-loader": "^6.2.0",

View File

@ -1,4 +1,4 @@
import esbuildLoader from 'esbuild-loader'
import { EsbuildPlugin } from 'esbuild-loader'
import type { WebpackConfigContext } from '../utils/config'
export function esbuild (ctx: WebpackConfigContext) {
@ -10,7 +10,7 @@ export function esbuild (ctx: WebpackConfigContext) {
const target = ctx.isServer ? 'es2019' : 'chrome85'
// https://github.com/nuxt/nuxt/issues/13052
config.optimization!.minimizer!.push(new (esbuildLoader as unknown as typeof import('esbuild-loader')).ESBuildMinifyPlugin())
config.optimization!.minimizer!.push(new EsbuildPlugin())
config.module!.rules!.push(
{

View File

@ -675,7 +675,7 @@ importers:
css-loader: ^6.7.3
css-minimizer-webpack-plugin: ^4.2.2
cssnano: ^5.1.14
esbuild-loader: ^2.21.0
esbuild-loader: ^3.0.0
escape-string-regexp: ^5.0.0
estree-walker: ^3.0.3
file-loader: ^6.2.0
@ -717,7 +717,7 @@ importers:
css-loader: 6.7.3_webpack@5.75.0
css-minimizer-webpack-plugin: 4.2.2_webpack@5.75.0
cssnano: 5.1.14_postcss@8.4.21
esbuild-loader: 2.21.0_webpack@5.75.0
esbuild-loader: 3.0.0_webpack@5.75.0
escape-string-regexp: 5.0.0
estree-walker: 3.0.3
file-loader: 6.2.0_webpack@5.75.0
@ -4273,16 +4273,14 @@ packages:
is-symbol: 1.0.4
dev: true
/esbuild-loader/2.21.0_webpack@5.75.0:
resolution: {integrity: sha512-k7ijTkCT43YBSZ6+fBCW1Gin7s46RrJ0VQaM8qA7lq7W+OLsGgtLyFV8470FzYi/4TeDexniTBTPTwZUnXXR5g==}
/esbuild-loader/3.0.0_webpack@5.75.0:
resolution: {integrity: sha512-+wZUslAmbj9SKhYt0ZiRsUzw4dP/99kwHAEPtLyAdGckpt8+DSGs2u+sXQSAuCG/m1a8Od3gVcqj1BpE3fl++Q==}
peerDependencies:
webpack: ^4.40.0 || ^5.0.0
dependencies:
esbuild: 0.16.17
joycon: 3.1.1
json5: 2.2.3
esbuild: 0.17.6
get-tsconfig: 4.4.0
loader-utils: 2.0.4
tapable: 2.2.1
webpack: 5.75.0
webpack-sources: 1.4.3
dev: false
@ -4400,7 +4398,7 @@ packages:
enhanced-resolve: 5.12.0
eslint: 8.33.0
eslint-plugin-import: 2.27.5_c6pjvta7aysubsdnhvgec47vxe
get-tsconfig: 4.3.0
get-tsconfig: 4.4.0
globby: 13.1.3
is-core-module: 2.11.0
is-glob: 4.0.3
@ -5088,9 +5086,8 @@ packages:
get-intrinsic: 1.2.0
dev: true
/get-tsconfig/4.3.0:
resolution: {integrity: sha512-YCcF28IqSay3fqpIu5y3Krg/utCBHBeoflkZyHj/QcqI2nrLPC3ZegS9CmIo+hJb8K7aiGsuUl7PwWVjNG2HQQ==}
dev: true
/get-tsconfig/4.4.0:
resolution: {integrity: sha512-0Gdjo/9+FzsYhXCEFueo2aY1z1tpXrxWZzP7k8ul9qt1U5o8rYJwTJYmaeHdrVosYIVYkOy2iwCJ9FdpocJhPQ==}
/getpass/0.1.7:
resolution: {integrity: sha512-0fzj9JxOLfJ+XGLhR8ze3unN0KZCgZwiSSDz168VERjK8Wl8kVSdcu2kspd4s4wtAa1y/qrVRiAA0WclVsu0ng==}
@ -5753,11 +5750,6 @@ packages:
resolution: {integrity: sha512-OKBOVWmU3FxDt/UH4zSwiKPuc1nihFZiOD722FuJlngvLz2glX1v2/TJIgoA4+mrpnXxHV6dSAoCvPcYQtoG5A==}
hasBin: true
/joycon/3.1.1:
resolution: {integrity: sha512-34wB/Y7MW7bzjKRjUKTa46I2Z7eV62Rkhva+KkopW7Qvv/OSWBqvkSY7vusOPrNuZcUG3tApvdVgNB8POj3SPw==}
engines: {node: '>=10'}
dev: false
/js-sdsl/4.3.0:
resolution: {integrity: sha512-mifzlm2+5nZ+lEcLJMoBK0/IH/bDg8XnJfd/Wq6IP+xoCjLZsTOnV2QpxlVbX9bMnkl5PdEjNtBJ9Cj1NjifhQ==}
dev: true