generated from sonofmagic/npm-lib-template
-
-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7ac71f5
commit 1e09732
Showing
6 changed files
with
723 additions
and
1,296 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,18 @@ | ||
import tailwindcss from '@tailwindcss/postcss' | ||
import fs from 'fs-extra' | ||
import path from 'pathe' | ||
import postcss from 'postcss' | ||
|
||
async function main() { | ||
const { css } = await postcss([ | ||
tailwindcss({ | ||
|
||
}), | ||
]).process('@import "tailwindcss";', { | ||
from: './index.ts', | ||
}) | ||
|
||
await fs.outputFile(path.resolve(import.meta.dirname, '../../packages/weapp-tailwindcss/test/fixtures/css/v4-default.css'), css, 'utf8') | ||
} | ||
|
||
main() |
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
Oops, something went wrong.