Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: Changing Vite root #5

Closed
spam-n-eggs opened this issue Feb 1, 2023 · 1 comment
Closed

Question: Changing Vite root #5

spam-n-eggs opened this issue Feb 1, 2023 · 1 comment

Comments

@spam-n-eggs
Copy link

I tried replacing the viteConfig.root directory this way, but I'm not 100% sure that I understand the documentation around it:

eleventyPlugin({
            replace: [
                ['viteConfig.root', './src']
            ]
        })

This has 0 effect. I also tried it without the single quotes around viteConfig.root and this caused vite to error out. Can you please provide a little bit of guidance around it?

@spam-n-eggs
Copy link
Author

Nevermind. I just set it with the vite configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant