mirror of
https://github.com/vuejs/babel-plugin-jsx.git
synced 2025-07-05 11:33:30 +08:00
refactor: upgrade project setup (#646)
This commit is contained in:
14
packages/jsx-explorer/vite.config.ts
Normal file
14
packages/jsx-explorer/vite.config.ts
Normal file
@ -0,0 +1,14 @@
|
||||
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,
|
||||
},
|
||||
}),
|
||||
],
|
||||
});
|
Reference in New Issue
Block a user