Open ryleyb opened 6 years ago
same problem with @supports
feature query.
here is my code (taken from bootstrap4):
@supports (transform-style: preserve-3d) {
.carousel-item-next,
.active.carousel-item-right {
transform: translate3d(100%, 0, 0);
}
}
output:
Unhandled rejection Error: Error: Unexpected } (line 5630, char 1)
at module.exports (/Users/simonefranchina/Documents/works/htdocs/inp/node_modules/inline-css/lib/inline-css.js:69:15)
at /Users/simonefranchina/Documents/works/htdocs/inp/node_modules/inline-css/lib/inlineContent.js:25:27
at /Users/simonefranchina/Documents/works/htdocs/inp/node_modules/extract-css/index.js:39:16
at /Users/simonefranchina/Documents/works/htdocs/inp/node_modules/extract-css/node_modules/batch/index.js:161:14
at process._tickCallback (internal/process/next_tick.js:150:11)
@supports
的问题解决了吗
Happens to me too.
Error: Unexpected } (line 166, char 2)\n at module.exports (/app/node_modules/inline-css/lib/inline-css.js:65:15)\n at /app/node_modules/inline-css/lib/inlineContent.js:22:27\n at /app/node_modules/extract-css/index.js:37:16
Output:
I don't need or expect any particular result of trying to inline this CSS. Just not an error. On my actual page, ignoring the @page would be fine.