vunguyentuan/vscode-css-variables

How to include external css package located in node_modules?

Closed this issue · 2 comments

Hi,

I have an external npm package that provides collections of variables. How can I include them in the vscode extension?

Thank you.

Hi @obriankevin11, you can update your .vscode/settings.json like this

.vscode/settings.json

{
  "cssVariables.lookupFiles": [
    "**/*.css",
    "**/*.scss",
    "**/*.sass",
    "**/*.less",
    "node_modules/open-props/open-props.min.css"
  ]
}

Oops, looks like I was in a bad day it's in the main page...sorry (thanks)