fix(bridge): use typescript directory entry (#3365)

This commit is contained in:
Daniel Roe 2022-02-25 11:45:45 +00:00 committed by GitHub
parent 9121bee926
commit c806d05b7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ export function setupAppBridge (_options: any) {
const nuxt = useNuxt()
// Setup aliases
nuxt.options.alias['#app'] = resolve(distDir, 'runtime/index.mjs')
nuxt.options.alias['#app'] = resolve(distDir, 'runtime/index')
nuxt.options.alias['nuxt3/app'] = nuxt.options.alias['#app']
nuxt.options.alias['nuxt/app'] = nuxt.options.alias['#app']
nuxt.options.alias['#build'] = nuxt.options.buildDir