giniedp / vscode-pug2html

Pug to html VSCode extension
4 stars 1 forks source link

Doesn't work with installed filters #5

Open oagarcia opened 6 years ago

oagarcia commented 6 years ago

The plugin doesn't recognize installed filters.

i.e npm install --save jstransformer-scss

h1
  p Hello World
style
    :scss
      h1 {
        color: red;
        p {
          color: blue;
        }
      }

When trying to run the plugin the following error is displayed: unknown filter ":scss"

giniedp commented 6 years ago

tried it with coffee-script filter and it does work fine. The scss filter does not. Howewer, it gets resolved but throws an error saying Node Sass does not yet support your current environment. The error gets caught and reported as unknown filter. Dont think that i can do anything on my side.