Skip to content

issueset/tsup-tailwindcss-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 'my-lib-built-with-tsup/dist/index.css';

// Import JS 
import { MY_CLASS_NAME } from 'my-lib-built-with-tsup';

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published