-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#61] feat: add suport for plugin options
- Loading branch information
Showing
17 changed files
with
619 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"cssvar.files": [ | ||
"src/tailwind.css", | ||
"src/other.css", | ||
], | ||
"cssvar.postcssPlugins": [ | ||
["postcss-import"], | ||
["postcss-nested", { | ||
"unwrap": ["phone"] | ||
}], | ||
|
||
// Use tailwindcss plugin with precaution, as it | ||
// processes every css passed to this extension. | ||
// Always use `cssvar.files` to properly define your source files | ||
// when using tailwindcss, to keep this extension parsing fast enough. | ||
"tailwindcss", | ||
|
||
// Do not use `postcss-preset-env` plugin, as it makes the extension | ||
// parsing pretty slow, which happens on each source file change. | ||
// "postcss-preset-env" | ||
], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"name": "with-plugins", | ||
"version": "1.0.0", | ||
"description": "", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"keywords": [], | ||
"author": "", | ||
"license": "ISC", | ||
"dependencies": { | ||
"postcss-import": "^15.0.0", | ||
"postcss-nested": "^5.0.6", | ||
"tailwindcss": "^3.1.8" | ||
} | ||
} |
Oops, something went wrong.