Created
June 14, 2020 11:41
-
-
Save ryanditjia/2050a601b775496584740b84a1c85693 to your computer and use it in GitHub Desktop.
Tailwind Sapper
This file contains hidden or 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
<!-- remove GlobalStyle from this file --> |
This file contains hidden or 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
{ | |
"scripts": { | |
"global-css": "postcss src/assets/global.pcss -o static/global.css --verbose", | |
"dev:global-css": "yarn global-css -w", | |
"build:global-css": "yarn global-css --env production", | |
"dev:sapper": "sapper dev", | |
"build:sapper": "NODE_ENV=production sapper build --legacy", | |
"export:sapper": "NODE_ENV=production sapper export --legacy", | |
"dev": "run-p dev:*", | |
"build": "run-p build:*", | |
"export": "run-p build:global-css export:sapper", | |
"start": "node __sapper__/build", | |
}, | |
"devDependencies": { | |
"postcss-cli": "^7.1.1", | |
}, | |
} |
This file contains hidden or 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
<link rel="stylesheet" href="global.css" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment