Skip to content

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

Open
@lecong

Description

@lecong

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,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions