mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-18 17:35:57 +00:00
fix: remove vue alias (#335)
This commit is contained in:
parent
5d7ded368b
commit
98cf97d269
@ -54,7 +54,6 @@ export async function loadNuxt (opts: LoadNuxtOptions): Promise<Nuxt> {
|
||||
const { appDir } = await import('@nuxt/app/meta')
|
||||
options.appDir = appDir
|
||||
options._majorVersion = 3
|
||||
options.alias.vue = normalize(require.resolve('vue/dist/vue.esm-bundler.js'))
|
||||
options.buildModules.push(normalize(require.resolve('@nuxt/pages/module')))
|
||||
options.buildModules.push(normalize(require.resolve('@nuxt/meta/module')))
|
||||
options.buildModules.push(normalize(require.resolve('@nuxt/component-discovery/module')))
|
||||
|
@ -49,9 +49,7 @@ export async function bundle (nuxt: Nuxt) {
|
||||
vue: {},
|
||||
css: {},
|
||||
optimizeDeps: {
|
||||
exclude: [
|
||||
'vue-router'
|
||||
]
|
||||
exclude: []
|
||||
},
|
||||
esbuild: {
|
||||
jsxFactory: 'h',
|
||||
|
Loading…
Reference in New Issue
Block a user