chore(font): enable minification (#60319)
Per @styfle suggestion, #58038 has been split into multiple PRs for easier review. - Enable minification of `@next/font` - Currently, the `@next/font` is built separately (without minification) and then copied to the `dist` folder of the Next.js.
This commit is contained in:
parent
1e7e6e1c93
commit
2a2a9c70d5
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@
|
|||
"prepublishOnly": "cd ../../ && turbo run build",
|
||||
"dev": "pnpm ncc-fontkit && tsc -d -w -p tsconfig.json",
|
||||
"typescript": "tsec --noEmit -p tsconfig.json",
|
||||
"ncc-fontkit": "ncc build ./fontkit.js -o dist/fontkit"
|
||||
"ncc-fontkit": "ncc build ./fontkit.js --minify -o dist/fontkit"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/fontkit": "2.0.0",
|
||||
|
|
Loading…
Reference in a new issue