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

Can I use less-loader instead of css loader? #15

Open
nlegncn opened this issue Jun 15, 2022 · 0 comments
Open

Can I use less-loader instead of css loader? #15

nlegncn opened this issue Jun 15, 2022 · 0 comments

Comments

@nlegncn
Copy link

nlegncn commented Jun 15, 2022

I have to use less-loader to apply all styles for full of my project (app.less).But I can't apply less-loader . My error is below:

// Imports
import CSS_LOADER_API_SOURCEMAP_IMPORT from "../../node_modules/css-loader/dist/runtime/sourceMaps.js";
^
Unrecognised input
Error in ..\Documents...\app\less\app.less (line 2, column 50)
at Object.lessLoader (..\Documents..\node_modules\less-loader\dist\index.js:74:14)
at runMicrotasks ()
at processTicksAndRejections (node:internal/process/task_queues:96:5)
@ ./app/module/main/main.module.js 85:206-276
@ container entry ./angularjsMain[0]

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

1 participant