mirror of
https://github.com/vuejs/babel-plugin-jsx.git
synced 2024-11-10 17:49:16 +08:00
15 lines
315 B
TypeScript
15 lines
315 B
TypeScript
|
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,
|
||
|
},
|
||
|
}),
|
||
|
],
|
||
|
});
|