Skip to content
This repository has been archived by the owner on Dec 19, 2017. It is now read-only.

CSS import error #30

Closed
zoechi opened this issue Mar 11, 2015 · 6 comments
Closed

CSS import error #30

zoechi opened this issue Mar 11, 2015 · 6 comments

Comments

@zoechi
Copy link

zoechi commented Mar 11, 2015

I can't get rid of this warning

Failed to inline stylesheet: Could not find asset bwu_datagrid|example/src/composite_editor_item_details/asset/examples.css. null (more details)
example/composite_editor_item_details.html:405:5
<link rel="stylesheet" href="src/composite_editor_item_details/asset/examples.css">

It is this import
https://github.com/bwu-dart/bwu_datagrid/blob/master/example/src/composite_editor_item_details/composite_editor_view.html#L10

This is the entry page

https://github.com/bwu-dart/bwu_datagrid/blob/master/example/composite_editor_item_details.html
the app-element is https://github.com/bwu-dart/bwu_datagrid/blob/master/example/src/composite_editor_item_details/app_element.html

I tried adding a few ../ but I wasn't able to find a way to point it to the correct directory.
The same import works in all other examples. The difference here is that the import is in an element composite-editor-view which is imported by app-element. In the other examples the examples.css is only used in the app-element.

@jakemac53
Copy link
Contributor

I think this is possibly because of the asset folder in the path?

@zoechi
Copy link
Author

zoechi commented Mar 11, 2015

What do you mean with "asset folder in the path"?

@jakemac53
Copy link
Contributor

Nvm, that wasn't the issue :). I have narrowed this down the the import inliner, its definitely just a bug.

@jakemac53
Copy link
Contributor

https://codereview.chromium.org/993423004/ is out to fix this, thanks for the report! This looks like a pretty nasty one.

@zoechi
Copy link
Author

zoechi commented Mar 11, 2015

Thanks a lot for the fast fix!

@jakemac53
Copy link
Contributor

this is published now, web_components 0.10.5+3

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants