-
Notifications
You must be signed in to change notification settings - Fork 87
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
error on such 'background:url(./image/test.svg)' #8
Comments
@Dpy0407 Update to latest version and it will be fixed. At the time of writing, it is |
@Dpy0407 Have you solved this problem? |
@exvu sorry, I am working on another project now, So, I am not sure if the problem has been solved. maybe you can have a try, as @mzohaibqc said that it has been solved after version @1.1.6 |
problem still there, I'm using |
problem still there, I'm using antd-theme-generator@^1.1.9 |
@Dpy0407 @exvu @lPaths @jokingzhang This issue has been resolved and package version has been updated If you are using antd-theme-webpack-plugin then you need to use version Thanks a lot, @andylidong for this solution. |
For webpack result (config the image resource to outputDir), the compile result will be 'background:url(outputDir/image/test.svg)' & webpack will copy the image resource to the outputDir, it will work well.
But for 'antd-theme-generator', its result will be 'background:url(image/test.svg)' , but the test.svg be put in outPutDir by webpack, so this url will work wrong.
I think if is better to ignore this situation when background is a url resource? Briefly, once antd-theme-generator find the background is a url, just ignore, don't generator this part?
The text was updated successfully, but these errors were encountered: