Skip to content

Commit

Permalink
Merge pull request #65 from benrbray/benrbray/fix/github-pages-workflow
Browse files Browse the repository at this point in the history
do not externalize deps when building site
  • Loading branch information
benrbray authored Apr 11, 2024
2 parents 15aa935 + 1eb3ed8 commit b4fd24f
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,10 @@
import { defineConfig } from 'vite';
import tsConfigPaths from 'vite-tsconfig-paths'

import pkg from "./package.json";

export default defineConfig({
plugins: [tsConfigPaths()],
base: "/prosemirror-math/",
build: {
outDir: "dist-site",
rollupOptions: {
external: [
...Object.keys(pkg.peerDependencies || {}),
]
},
},
})

0 comments on commit b4fd24f

Please sign in to comment.