diff --git a/src/file-actions.js b/src/file-actions.js index d96da0376..91a05b6b8 100644 --- a/src/file-actions.js +++ b/src/file-actions.js @@ -3,6 +3,8 @@ import { spawnDialog } from '@nextcloud/dialogs' // eslint-disable-next-line import/no-unresolved import tablesIcon from '@mdi/svg/svg/table-large.svg?raw' +import '@nextcloud/dialogs/style.css' + const validMimeTypes = [ 'text/csv', 'text/html', diff --git a/vite.config.ts b/vite.config.ts index ae77e2283..11c1f78d5 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -9,9 +9,10 @@ const config = createAppConfig({ files: path.join(__dirname, 'src', 'file-actions.js'), main: path.join(__dirname, 'src', 'main.js'), }, { - inlineCSS: true, + inlineCSS: false, config: { build: { + cssCodeSplit: true, rollupOptions: { output: { manualChunks: (id) => {