Skip to content

Commit

Permalink
fix(build): bundling moo
Browse files Browse the repository at this point in the history
  • Loading branch information
bent10 committed Oct 2, 2023
1 parent 527c438 commit 44c6294
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

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

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"@types/react-dom": "^18.2.8",
"doogu": "^3.2.7",
"marked": "^9.0.3",
"moo": "^0.5.2",
"prettier-plugin-svelte": "^3.0.3",
"pupa": "^3.1.0",
"react-dom": "^18.2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/code-preview/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default defineConfig(({ command, ssrBuild }) => {
return {
plugins: [cacheDir()],
ssr: {
noExternal: ['pupa', 'escape-goat']
noExternal: ['pupa', 'escape-goat', 'moo']
},
build,
test: {
Expand Down
3 changes: 1 addition & 2 deletions packages/hook-frontmatter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@
},
"dependencies": {
"@types/js-yaml": "^4.0.6",
"js-yaml": "^4.1.0",
"moo": "^0.5.2"
"js-yaml": "^4.1.0"
},
"devDependencies": {
"marked-sequential-hooks": "^1.1.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/hook-frontmatter/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default defineConfig(({ command, ssrBuild }) => {
return {
plugins: [cacheDir()],
ssr: {
noExternal: ['pupa', 'escape-goat']
noExternal: ['pupa', 'escape-goat', 'moo']
},
build,
test: {
Expand Down

0 comments on commit 44c6294

Please sign in to comment.