creatively-ui
v0.0.24
Published
This is a simple example to show how to bundle a library with CSS files using tsup.
Readme
tsup tailwindcss example
This is a simple example to show how to bundle a library with CSS files using tsup.
$ npm install
$ npm run buildThe 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";