myliang / x-spreadsheet

The project has been migrated to @wolf-table/table https://github.com/wolf-table/table
https://myliang.github.io/x-spreadsheet
MIT License
14.22k stars 1.71k forks source link

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

Open lecong opened 1 month ago

lecong commented 1 month ago

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 commented 3 weeks ago

same problem