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

import.meta.globEager not work! #107

Closed
edu-live opened this issue May 12, 2021 · 1 comment
Closed

import.meta.globEager not work! #107

edu-live opened this issue May 12, 2021 · 1 comment

Comments

@edu-live
Copy link

import { defineConfig } from 'vite'
import svelte from '@sveltejs/vite-plugin-svelte'
const modules = import.meta.globEager('./src/baseCmpts/*.svelte')

// https://vitejs.dev/config/
export default defineConfig({
plugins: [svelte(), modules],
})

@KnowsCount
Copy link
Collaborator

KnowsCount commented May 12, 2021

please do not post any issue with vite here in this repository for this is repository is only concerned with the Chinese vite documentation.

please go to the vite repo.

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