Skip to content

Commit

Permalink
feat: Add chalk dependency for conversion result log
Browse files Browse the repository at this point in the history
  • Loading branch information
youthfulhps committed Oct 18, 2023
1 parent d273dbe commit f2f12e8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
"vite-plugin-dts": "^2.0.2"
},
"dependencies": {
"chalk": "4.1.2",
"css": "^3.0.0",
"prettier": "~2.8.4",
"rollup-plugin-polyfill-node": "^0.12.0",
Expand Down
9 changes: 3 additions & 6 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,12 @@ export default defineConfig(({ mode }) => {
*/
watch: isDev ? {} : null,
rollupOptions: {
external: ['fs/promises', /^prettier/],
external: ['fs/promises', /^prettier/, 'chalk'],
output: {
globals: {
'fs/promises': 'fs/promises',
prettier: 'prettier',
chalk: 'chalk',
},
},
},
Expand Down

0 comments on commit f2f12e8

Please sign in to comment.