mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
fix(bridge): add implicit dependencies
This commit is contained in:
parent
f06ee66f1c
commit
4837b92e57
@ -16,13 +16,17 @@
|
||||
"@nuxt/nitro": "^0.10.0",
|
||||
"@nuxt/postcss8": "^1.1.3",
|
||||
"@vue/composition-api": "^1.2.2",
|
||||
"acorn": "^8.5.0",
|
||||
"estree-walker": "^3.0.0",
|
||||
"fs-extra": "^10.0.0",
|
||||
"magic-string": "^0.25.7",
|
||||
"node-fetch": "^3.0.0",
|
||||
"nuxi": "^0.10.0",
|
||||
"nuxt-swc": "^0.1.0",
|
||||
"nuxt-vite": "^0.2.4",
|
||||
"pathe": "^0.2.0",
|
||||
"ufo": "^0.7.9"
|
||||
"ufo": "^0.7.9",
|
||||
"unplugin": "^0.2.16"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/fs-extra": "^9.0.13",
|
||||
|
@ -1,10 +1,10 @@
|
||||
// Based on https://github.com/webpack/webpack/blob/v4.46.0/lib/node/NodeMainTemplatePlugin.js#L81-L191
|
||||
|
||||
import type { Compiler } from 'webpack'
|
||||
import Template from 'webpack/lib/Template'
|
||||
|
||||
export class AsyncLoadingPlugin {
|
||||
apply (compiler: Compiler) {
|
||||
const Template = require('webpack/lib/Template')
|
||||
compiler.hooks.compilation.tap('AsyncLoading', (compilation) => {
|
||||
const mainTemplate = compilation.mainTemplate
|
||||
mainTemplate.hooks.requireEnsure.tap(
|
||||
|
13
yarn.lock
13
yarn.lock
@ -1442,7 +1442,10 @@ __metadata:
|
||||
"@types/fs-extra": ^9.0.13
|
||||
"@types/node-fetch": ^3.0.2
|
||||
"@vue/composition-api": ^1.2.2
|
||||
acorn: ^8.5.0
|
||||
estree-walker: ^3.0.0
|
||||
fs-extra: ^10.0.0
|
||||
magic-string: ^0.25.7
|
||||
node-fetch: ^3.0.0
|
||||
nuxi: ^0.10.0
|
||||
nuxt-swc: ^0.1.0
|
||||
@ -1450,6 +1453,7 @@ __metadata:
|
||||
pathe: ^0.2.0
|
||||
ufo: ^0.7.9
|
||||
unbuild: latest
|
||||
unplugin: ^0.2.16
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
@ -3180,7 +3184,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"acorn@npm:^8.0.4, acorn@npm:^8.3.0, acorn@npm:^8.4.1":
|
||||
"acorn@npm:^8.0.4, acorn@npm:^8.3.0, acorn@npm:^8.4.1, acorn@npm:^8.5.0":
|
||||
version: 8.5.0
|
||||
resolution: "acorn@npm:8.5.0"
|
||||
bin:
|
||||
@ -6678,6 +6682,13 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"estree-walker@npm:^3.0.0":
|
||||
version: 3.0.0
|
||||
resolution: "estree-walker@npm:3.0.0"
|
||||
checksum: 3b6b5fd5e37df9e2f472fe6b39eecee9f6ae395676c1535a9bca70ed6bf4a7233747c2f56b8cfa47bdb47411589b87e4ef108875d18415d7e3d2b2225b752e75
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"esutils@npm:^2.0.2":
|
||||
version: 2.0.3
|
||||
resolution: "esutils@npm:2.0.3"
|
||||
|
Loading…
Reference in New Issue
Block a user