feat(04-02): add Vite alias to redirect OnboardingWizard to NexusOnboardingWizard
- Alias uses absolute path (path.resolve) for correct Vite import resolution - [nexus] comment marks the change for rebase visibility - Original OnboardingWizard.tsx and App.tsx remain unmodified
This commit is contained in:
parent
667aba78d2
commit
8d65b33e11
1 changed files with 3 additions and 0 deletions
|
|
@ -9,6 +9,9 @@ export default defineConfig({
|
||||||
alias: {
|
alias: {
|
||||||
"@": path.resolve(__dirname, "./src"),
|
"@": path.resolve(__dirname, "./src"),
|
||||||
lexical: path.resolve(__dirname, "./node_modules/lexical/Lexical.mjs"),
|
lexical: path.resolve(__dirname, "./node_modules/lexical/Lexical.mjs"),
|
||||||
|
// [nexus] Replace upstream OnboardingWizard with Nexus single-step version
|
||||||
|
[path.resolve(__dirname, "src/components/OnboardingWizard")]:
|
||||||
|
path.resolve(__dirname, "./src/components/NexusOnboardingWizard"),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
server: {
|
server: {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue