babel-plugin-jsx/packages/jsx-explorer/vite.config.ts

15 lines
315 B
TypeScript
Raw Normal View History

2023-06-22 12:14:02 +08:00
import { defineConfig } from 'vite';
import MonacoEditorPlugin from 'vite-plugin-monaco-editor';
import { nodePolyfills } from 'vite-plugin-node-polyfills';
export default defineConfig({
plugins: [
MonacoEditorPlugin({}),
nodePolyfills({
globals: {
process: true,
},
}),
],
});