letshare / storybook-addon-customize-antd-theme

a Storybook addon help you visually customize an ant design theme
MIT License
31 stars 2 forks source link

modifyVars appears to be changing in the less-loader #1

Closed Steven-Lilley-Imprivata closed 2 years ago

Steven-Lilley-Imprivata commented 2 years ago

And seem to be throwing errors... The proposed adjustments seem to be discussed here: https://github.com/webpack-contrib/less-loader/issues/303 Screenshot (53)

gidich commented 2 years ago

Seeing the same thing - tried a number of things to get around it but no luck so far.

update 2/5/2022 - may have a fix - will post here ..

letshare commented 2 years ago

And seem to be throwing errors... The proposed adjustments seem to be discussed here: webpack-contrib/less-loader#303 Screenshot (53)

Errors in addon will not appear in canvas. In addition, storybook-addon-customise-antd-theme does not use less-loader. It seems that modifyVars is used in your stories file. Can you let me see where you use modifyVars? What is your storybook version?

letshare commented 2 years ago

No further feedback, I'll close first