Skip to content

Commit

Permalink
💚 Modify the vite config on the playground site
Browse files Browse the repository at this point in the history
Signed-off-by: Sumin <robolindasoo@gmail.com>
  • Loading branch information
milk717 committed Mar 3, 2024
1 parent 415172f commit b842943
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions packages/playground/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,5 @@ import tsconfigPaths from 'vite-tsconfig-paths';

// https://vitejs.dev/config/
export default defineConfig({
build: {
lib: {
entry: './src/package/index.ts',
name: 'mdx-obsidian-callout',
formats: ['es'],
},
rollupOptions: {
input: './src/package/index.ts',
external: ['react', 'react-dom'],
},
},
plugins: [react(), mdx(), svgr(), tsconfigPaths()],
});

0 comments on commit b842943

Please sign in to comment.