File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed
Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ export default defineNuxtModule<ModuleOptions>({
5858 nuxt . options . alias [ Pkg ] = schemaOrgPath
5959
6060 const moduleRuntimeDir = resolve ( './runtime' )
61- nuxt . options . build . transpile . push ( ...[ moduleRuntimeDir , AliasRuntime , runtimePath ] )
61+ nuxt . options . build . transpile . push ( ...[ moduleRuntimeDir , AliasRuntime ] )
6262
6363 // fallback clears schema on route change
6464 if ( ! moduleOptions . client )
Original file line number Diff line number Diff line change @@ -93,7 +93,6 @@ export const AliasRuntimePlugin = () => createUnplugin<AliasPluginOptions>((user
9393 const isServerBuild = process . env . VITE_SSG || ctx . ssrBuild
9494 if ( typeof userConfig . mock === 'undefined' && ! isServerBuild && config . mode === 'production' ) {
9595 userConfig . mock = true
96- await fetchPaths ( true )
9796 paths = await fetchPaths ( true )
9897 }
9998 else {
You can’t perform that action at this time.
0 commit comments