You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 5, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+16Lines changed: 16 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -33,3 +33,19 @@ To get started:
33
33
Now you should be able to see the project running at localhost:8080.
34
34
35
35
4. Open `index.html`in your editor and start experimenting!
36
+
37
+
## Building for production
38
+
39
+
Even though this isn't necessarily a starter kit for a proper project, we've included an example of setting up both [Purgecss](https://www.purgecss.com/) and [cssnano](https://cssnano.co/) to optimize your CSS for production.
40
+
41
+
To build an optimized version of your CSS, simply run:
42
+
43
+
```bash
44
+
# Using npm
45
+
npm run production
46
+
47
+
# Using Yarn
48
+
yarn run production
49
+
```
50
+
51
+
After that's done, check out `./dist/tailwind.css` to see the optimized output.
0 commit comments