0.0.24 • Published 6 months ago
creatively-ui v0.0.24
tsup tailwindcss example
This is a simple example to show how to bundle a library with CSS files using tsup.
$ npm install
$ npm run build
The output CSS file is dist/index.css
.
In you application, you can import the CSS file like this:
// Import CSS
import "ui-my-lib-built-with-tsup/dist/index.css";
// Import JS
import { MY_CLASS_NAME } from "ui-my-lib-built-with-tsup";
0.0.24
6 months ago
0.0.23
6 months ago
0.0.22
7 months ago
0.0.21
7 months ago
0.0.20
7 months ago
0.0.19
7 months ago
0.0.18
7 months ago
0.0.17
7 months ago
0.0.16
7 months ago
0.0.15
7 months ago
0.0.14
7 months ago
0.0.13
7 months ago
0.0.12
7 months ago
0.0.11
7 months ago
0.0.10
7 months ago
0.0.9
7 months ago
0.0.8
7 months ago
0.0.7
7 months ago
0.0.6
7 months ago
0.0.5
7 months ago
0.0.4
7 months ago
0.0.3
7 months ago
0.0.2
7 months ago
0.0.1
7 months ago