Closed csvn closed 6 years ago
I managed to get e2e
running locally, but I copied manually. My npm install
failed on "typescript-lit-html-plugin": "file:./.."
just like Travis seems to do. Any suggestions here?
Thanks! Sorry I missed this PR when it first came in. Will look at why npm 10+ keeps failing. Yarn and older npm versions seem to work just fine
There are several styled errors that can occur when using expressions (
${}
) inside template strings with this plugin.Issue
Will currently turn into the following:
When this
VirtualDocument
is checked for CSS errorsxxxxxxxxxxxxxxxxxx
will complain on missing{
and__{xxxxxxxxxxxxx}
will complain on missing:
.My work so far will substitue
x
's for whitespace for CSS parts that use only expressions and whitespace:Mitigates
The above fix will make the scenarios above much better. And these seem like they would be the most common scenarios when using
lit-html
.[ts-styled-plugin] { expected
is no longer thrown when only using expressions in instyle
tag. This is what I am currently using in a project withlit-html
to get CSS minification and vendor-prefixing via webpack loaders.[ts-styled-plugin] colon expected
is avoided when only using expressions instyle
attribute.Fixes #19