Fixed oidc build

This commit is contained in:
SamTv12345 2024-07-18 08:56:50 +02:00
parent d6d636955c
commit 983b799231

View file

@ -1,14 +1,9 @@
// vite.config.js
import { resolve } from 'path'
import { defineConfig } from 'vite'
import vitePluginRequire from 'vite-plugin-require';
import { viteCommonjs } from '@originjs/vite-plugin-commonjs'
export default defineConfig({
base: '/views/',
plugins: [
viteCommonjs(),
],
build: {
commonjsOptions:{
transformMixedEsModules: true,