customize-cra icon indicating copy to clipboard operation
customize-cra copied to clipboard

Fix `addLessLoader` on newer `css-loader` packages

Open cusspvz opened this issue 4 years ago • 2 comments

css-loader has deprecated the localIdentName as a direct option. It now resides within the modules option object.

here

cusspvz avatar Feb 19 '20 08:02 cusspvz

Also issue #242

xyy94813 avatar May 27 '20 02:05 xyy94813

Hey folks,

The changes in the @next branch have been pushed upstream and merged into master. Please follow the migration guide in #253, which will have you nest your configuration in the lessOptions object.

Hopefully this resolves a majority of the issues in the thread. Please do let me know if you still run into issues; I'll keep this PR thread open for a few days.

Anish-Agnihotri avatar May 28 '20 21:05 Anish-Agnihotri