From 1f228c1223ac9e8f1ac4276cb07f4f7c96939eb3 Mon Sep 17 00:00:00 2001 From: David Siegfried Date: Wed, 11 Oct 2023 12:48:04 +0200 Subject: store --- vite.config.js | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/vite.config.js b/vite.config.js index 8b3304c..2312a6d 100644 --- a/vite.config.js +++ b/vite.config.js @@ -40,23 +40,11 @@ export default defineConfig({ vue(), requireTransform({}), ], + root: '/', + rollupOptions: { + input: fullAssetsDir + "/javascripts/entry-base.js" + }, build: { - lib: { - // Could also be a dictionary or array of multiple entry points - entry: { - "studip-base": fullAssetsDir + "/javascripts/entry-base.js", - "studip-admission": fullAssetsDir + "/javascripts/entry-admission.js", - "studip-statusgroups": fullAssetsDir + "/javascripts/entry-statusgroups.js", - "studip-wysiwyg": fullAssetsDir + "/javascripts/entry-wysiwyg.js", - "studip-installer": fullAssetsDir + "/javascripts/entry-installer.js", - // "studip-less": fullAssetsDir + "/stylesheets/studip.less", - // "studip-scss": fullAssetsDir + "/stylesheets/studip.scss", - // "studip-jquery-ui": fullAssetsDir + "/stylesheets/studip-jquery-ui.less", - "print": fullAssetsDir + "/stylesheets/print.less", - "webservices": fullAssetsDir + "/stylesheets/webservices.scss", - "accessibility": fullAssetsDir + "/stylesheets/highcontrast.scss" - }, - }, cssCodeSplit: true, assetsDir: assetDir, minify: true, -- cgit v1.0