style: cleanup vite.config.ts
This commit is contained in:
parent
72cc9d8974
commit
dbd9d39da9
1 changed files with 2 additions and 4 deletions
|
|
@ -6,8 +6,6 @@ import tsconfigPaths from 'vite-tsconfig-paths'
|
|||
|
||||
installGlobals()
|
||||
|
||||
const ReactCompilerConfig = {}
|
||||
|
||||
export default defineConfig({
|
||||
base: '/admin/',
|
||||
plugins: [
|
||||
|
|
@ -18,9 +16,9 @@ export default defineConfig({
|
|||
babel({
|
||||
filter: /\.[jt]sx?$/,
|
||||
babelConfig: {
|
||||
presets: ['@babel/preset-typescript'], // if you use TypeScript
|
||||
presets: ['@babel/preset-typescript'],
|
||||
plugins: [
|
||||
['babel-plugin-react-compiler', ReactCompilerConfig],
|
||||
['babel-plugin-react-compiler', {}],
|
||||
],
|
||||
},
|
||||
}),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue