-
-
Notifications
You must be signed in to change notification settings - Fork 261
Closed
Labels
Description
hi, how can I setup loaders to other files like .ttf using tsup?
✘ tgmarinho@DESKTOP-EOOV6G8 ~/Developer/crow/crow-sdk develop ± yarn dev
yarn run v1.22.5
$ tsup --watch
CLI Building entry: src/index.ts
CLI Using tsconfig: /home/tgmarinho/Developer/crow/crow-sdk/tsconfig.json
CLI tsup v5.6.0
CLI Using tsup config: /home/tgmarinho/Developer/crow/crow-sdk/tsup.config.ts
CLI Running in watch mode
CLI Target: node12
CLI Cleaning output folder
CJS Build start
> src/components/globalStyle.ts:1:19: error: No loader is configured for ".ttf" files: src/components/fonts/Comforter.ttf
1 │ import sfWoff from './fonts/Comforter.ttf'