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 // vite.config.js
import { resolve } from 'path' import { resolve } from 'path'
import { defineConfig } from 'vite' import { defineConfig } from 'vite'
import vitePluginRequire from 'vite-plugin-require';
import { viteCommonjs } from '@originjs/vite-plugin-commonjs'
export default defineConfig({ export default defineConfig({
base: '/views/', base: '/views/',
plugins: [
viteCommonjs(),
],
build: { build: {
commonjsOptions:{ commonjsOptions:{
transformMixedEsModules: true, transformMixedEsModules: true,