Skip to content

Commit 04742dd

Browse files
committed
Mark dependencies as external
1 parent e97cfc2 commit 04742dd

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.vscode/settings.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"explorer.excludeGitIgnore": true,
32
"npm.packageManager": "pnpm",
43

54
"editor.formatOnSave": true,

vite.config.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,13 @@ import { defineConfig } from 'vite';
33
export default defineConfig({
44
build: {
55
rollupOptions: {
6-
external: ['content-tag'],
6+
external: [
7+
'content-tag',
8+
'prettier',
9+
'prettier/plugins/estree.js',
10+
'prettier/plugins/babel.js',
11+
'@babel/core',
12+
],
713
},
814
lib: {
915
entry: 'src/main.ts',

0 commit comments

Comments
 (0)