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

'sourceMap' seems to replace ‘source’ #248

Closed
T-Inphic opened this issue May 14, 2020 · 1 comment
Closed

'sourceMap' seems to replace ‘source’ #248

T-Inphic opened this issue May 14, 2020 · 1 comment

Comments

@T-Inphic
Copy link

{
loader: require.resolve("less-loader"),
options: Object.assign(loaderOptions, {
source: shouldUseSourceMap
})
}

@Anish-Agnihotri
Copy link
Collaborator

Hi @T-Inphic,

This issue has been resolved in the latest customize-cra at version 1.0. It is a breaking change, and you can follow the migration guide in #253 to fix the issue you were running into (you have to nest your configuration in the lessOptions object.

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