dotnet-foundation / dotnetfoundation-website

.NET Foundation Website
MIT License
47 stars 38 forks source link

CSS Minification Errors on @imports and @keyframes #11

Open jongalloway opened 7 years ago

jongalloway commented 7 years ago

From comment in #1 by @joeaudette

running into some issues trying to use bundler minifier to combine the files. specifically getting errors about @Keyframes and @imports simialr to this issue madskristensen/BundlerMinifier#191

I'm seeing this when I run the task:

Unexpected token, found '{'
Unexpected token, found '"version"'
Expected identifier, found ' '
Expected selector, found '3'
Expected comma or open brace, found '3'
Unexpected token, found '@-webkit-keyframes'
Expected semicolon or closing curly-brace, found '0%'
Unexpected token, found '@Keyframes'
Expected semicolon or closing curly-brace, found '0%'

Full error list:

``` Unexpected token, found '{' Unexpected token, found '"version"' Expected identifier, found ' ' Expected selector, found '3' Expected comma or open brace, found '3' Unexpected token, found '@-webkit-keyframes' Expected semicolon or closing curly-brace, found '0%' Unexpected token, found '@Keyframes' Expected semicolon or closing curly-brace, found '0%' Unexpected token, found '@-webkit-keyframes' Expected colon, found '{' Unexpected token, found '@Keyframes' Expected colon, found '{' Unexpected token, found '@-webkit-keyframes' Expected colon, found '{' Unexpected token, found '@Keyframes' Expected colon, found '{' Unexpected token, found '@-webkit-keyframes' Expected colon, found '{' Unexpected token, found '@Keyframes' Expected colon, found '{' Unexpected token, found '@-webkit-keyframes' Expected colon, found '{' Unexpected token, found '@Keyframes' Expected colon, found '{' Unexpected token, found '@-webkit-keyframes' Expected colon, found '{' Unexpected token, found '@Keyframes' Expected colon, found '{' Unexpected token, found '@-webkit-keyframes' Expected colon, found '{' Unexpected token, found '@Keyframes' Expected colon, found '{' Unexpected token, found '@-webkit-keyframes' Expected colon, found '{' Unexpected token, found '@Keyframes' Expected colon, found '{' Unexpected token, found '@-webkit-keyframes' Expected colon, found '{' Unexpected token, found '@Keyframes' Expected colon, found '{' Unexpected token, found '@-webkit-keyframes' Expected semicolon or closing curly-brace, found '0%' Unexpected token, found '@Keyframes' Expected semicolon or closing curly-brace, found '0%' Unexpected token, found '@import' Unexpected token, found 'url(//fonts.googleapis.com/css?family=Lato:100,300,400|Open+Sans:400italic,400,600|Muli:300|Indie+Flower:400|Oswald:400,700,300)' Unexpected token, found '@Keyframes' Expected colon, found '{' Unexpected token, found '@Keyframes' Expected colon, found '{' Unexpected token, found '@Keyframes' Expected colon, found '{' Process terminated with code 0. ```
jongalloway commented 7 years ago

Documentation for the theme is here in case it helps: http://razonartificial.com/themes/reason/v1.6/css_typography.html

jongalloway commented 7 years ago

I'll check with @madskristensen on the BundlerMinifier issue. Otherwise we can set up a gulp task.

garfbradaz commented 6 years ago

Was this ever resolved as I get the same thing when trying to use for bootstrap themes?