mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-26 07:32:01 +00:00
fix(bridge): set webpack as implicit external
This commit is contained in:
parent
9f7438afb1
commit
0b3271d275
@ -3,5 +3,8 @@ import { defineBuildConfig } from 'unbuild'
|
||||
export default defineBuildConfig({
|
||||
entries: [
|
||||
'src/module'
|
||||
],
|
||||
externals: [
|
||||
'webpack'
|
||||
]
|
||||
})
|
||||
|
@ -1,6 +1,6 @@
|
||||
// Based on https://github.com/webpack/webpack/blob/v4.46.0/lib/node/NodeMainTemplatePlugin.js#L81-L191
|
||||
|
||||
import { Compiler } from 'webpack'
|
||||
import type { Compiler } from 'webpack'
|
||||
import Template from 'webpack/lib/Template'
|
||||
|
||||
export class AsyncLoadingPlugin {
|
||||
|
Loading…
Reference in New Issue
Block a user