Giter Site home page Giter Site logo

Comments (8)

aruntk avatar aruntk commented on May 25, 2024

Here the issue is with the clip-path url.

clip-path: url('#handClip');

Currently I'm converting urls which can be imported into modules based on the url path. I need to think about how to handle urls like this. Thanks for pointing out.

from wc-loader.

vehsakul avatar vehsakul commented on May 25, 2024

This is the second part of the issue, the first is that
return 'url(' + self._changeRelUrl(url, _path2.default.dirname(cssBasePath)) + ')'; will fail if cssBasePath is undefined.

from wc-loader.

aruntk avatar aruntk commented on May 25, 2024

I'm referring css-loader now to see how they are handling it. I think its better to pass css to css-loader instead of handling in wc-loader, as they have already done these things. I'll let you know once its done. If you could contribute please submit prs. :)

from wc-loader.

aruntk avatar aruntk commented on May 25, 2024

This is the second part of the issue, the first is that
return 'url(' + self._changeRelUrl(url, _path2.default.dirname(cssBasePath)) + ')'; will fail if cssBasePath is undefined.

Fixed this with rest value.

from wc-loader.

vehsakul avatar vehsakul commented on May 25, 2024

good idea with css-loader, i think

from wc-loader.

aruntk avatar aruntk commented on May 25, 2024

One more related error - Base 64 urls wont work.

from wc-loader.

aruntk avatar aruntk commented on May 25, 2024

@vehsakul This is a more modular version of wc-loader. https://github.com/aruntk/link-loader. style tags will still have the error. External css will work using css-loader.

from wc-loader.

vehsakul avatar vehsakul commented on May 25, 2024

@aruntk thanks for help

from wc-loader.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.