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

No loader is configured for ".less" files #722

Open
lecong opened this issue Sep 29, 2024 · 1 comment
Open

No loader is configured for ".less" files #722

lecong opened this issue Sep 29, 2024 · 1 comment

Comments

@lecong
Copy link

lecong commented Sep 29, 2024

Hi,

I using x-spreadsheet in vite project and work normal with dev mode.

At production mode, i can not build success with error No loader is configured for ".less" files: ../../node_modules/x-data-spreadsheet/src/index.less

I can try resolve this issue with config:
css: {
preprocessorOptions: {
less: {
javascriptEnabled: true,
},
},
},

But cannot resolve this issue.

Call you help me resolve it?

Thanks,

@caoxing9
Copy link

same problem

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