mirror of
https://github.com/cruip/vuejs-admin-dashboard-template.git
synced 2026-03-01 00:35:36 +08:00
Fix 'default' is not exported
This commit is contained in:
@@ -5,7 +5,7 @@ import vue from '@vitejs/plugin-vue'
|
||||
export default defineConfig({
|
||||
define: {
|
||||
'process.env': process.env
|
||||
},
|
||||
},
|
||||
plugins: [vue()],
|
||||
resolve: {
|
||||
alias: [
|
||||
@@ -15,17 +15,8 @@ export default defineConfig({
|
||||
return val.replace(/^~/, "");
|
||||
},
|
||||
},
|
||||
{
|
||||
find: '@tailwindConfig',
|
||||
replacement: () => './src/css/tailwind.config.js',
|
||||
}
|
||||
],
|
||||
},
|
||||
optimizeDeps: {
|
||||
include: [
|
||||
'@tailwindConfig',
|
||||
]
|
||||
},
|
||||
build: {
|
||||
commonjsOptions: {
|
||||
transformMixedEsModules: true,
|
||||
|
||||
Reference in New Issue
Block a user