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

Compatibility with Vite #7

Open
mesqueeb opened this issue Jun 23, 2020 · 1 comment
Open

Compatibility with Vite #7

mesqueeb opened this issue Jun 23, 2020 · 1 comment

Comments

@mesqueeb
Copy link

I'm trying to use it with Vite: https://github.com/vitejs/vite#config-file

But it doesn't seem to work out of the box.

Any chance you would be able to look into adding Vite support? 😍

@elcarim5efil
Copy link
Owner

According to the document, I think you can only use ES module import during dev mode, and the tool only uses rollup during production mode, which means require.context won't work in dev mode and shouldn't been recommended.

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

2 participants