Comments (8)
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.
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.
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.
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.
good idea with css-loader, i think
from wc-loader.
One more related error - Base 64 urls wont work.
from wc-loader.
@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.
@aruntk thanks for help
from wc-loader.
Related Issues (20)
- Use polymer-analyzer
- sourcemaps and breakpoints in IDE impossible? HOT 2
- Does not work for AppLocalizeBehavior HOT 10
- Does not support quotes in urls in css
- ES6 transpiling + WC loader not working HOT 1
- Code is generated to load whitespace HOT 2
- minify html option HOT 1
- How to use lib when importing in index.html with HtmlWebpackPlugin HOT 1
- Tries to access publicPath of undefined HOT 1
- Externally hosted web components? HOT 2
- Child combinator in CSS is replaced with > HOT 6
- Creating extra <dom-module> element HOT 1
- ModuleNotFoundError with css external assets. How to handle css assets? HOT 7
- Loader fails? HOT 2
- Loader fails to compile polymer.html HOT 2
- Support for <link rel="stylesheet"> with an SCSS target
- Unbundled dev mode with wc-loader
- Support for webpack@4 HOT 1
- Write tests HOT 2
- import behaviors looks incorrect HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wc-loader.