Missing file location settings for color.less
gwmaster opened this issue · comments
hi fantastic plugin!!!!
i build my Multi Project Starter framework for build multiple projects that share same code and basic webpack configuration.
multiprojectstarter
and cant find way tell to antd-theme-webpack-plugin put color.less file not to root else to specific folder location and i have .
to /dist/starterProject/color.less
@gwmaster you can use publicPath
key to define relative path. Simply add publicPath: "."
that will make it relative path "./color.less" instead of default "/color.less".
I hope that will help. Go through closed issues and you will find similar issues and their solution.
Add publicPath: '/starterProject'
in plugin options/config.
i set publicPath: '.' and change all to relative now all work perfect colors changing . the problem that i try now to understand its why this not change the other params like size . its work less/less.js#1488 but no in my project
@gwmaster Itis only for color specific changes. Read the docs
where the limit as i see the less.js do support change other params
is there source code of extension to extend it and make other support
@gwmaster This plugin only allows to change color specific css styles. You can update any variable with less.js but you have to write your own code/logic to do this.
Again, this plugin is just about colors