diff --git a/bundle/index.html b/bundle/index.html
index 0745abd..63ad1ea 100644
--- a/bundle/index.html
+++ b/bundle/index.html
@@ -4,8 +4,6 @@
Svelte Component
-
-
diff --git a/package.json b/package.json
index ea95d00..d825c7e 100644
--- a/package.json
+++ b/package.json
@@ -18,17 +18,19 @@
"@rollup/plugin-terser": "^0.4.4",
"@sveltejs/vite-plugin-svelte": "^3.1.1",
"@tsconfig/svelte": "^5.0.4",
- "autoprefixer": "^10.4.2",
+ "autoprefixer": "^10.4.20",
"flowbite-svelte": "^0.46.13",
"flowbite-svelte-icons": "^1.0.2",
"oclif": "^4.14.11",
- "postcss": "^8.4.32",
+ "postcss": "^8.4.47",
"postcss-load-config": "^5.0.2",
"rollup": "^4.21.2",
"rollup-plugin-css-only": "^4.5.2",
+ "rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-svelte": "^7.2.2",
"svelte": "^4.2.18",
"svelte-check": "^3.8.1",
+ "svelte-preprocess": "^6.0.2",
"tailwind-merge": "^2.4.0",
"tailwindcss": "^3.4.4",
"tslib": "^2.6.3",
diff --git a/rollup.config.js b/rollup.config.js
index 3f46df8..8131e2b 100644
--- a/rollup.config.js
+++ b/rollup.config.js
@@ -2,8 +2,9 @@ import svelte from 'rollup-plugin-svelte';
import resolve from '@rollup/plugin-node-resolve';
import commonjs from '@rollup/plugin-commonjs';
import replace from '@rollup/plugin-replace';
-import css from 'rollup-plugin-css-only';
import terser from '@rollup/plugin-terser';
+import postcss from 'rollup-plugin-postcss';
+import { sveltePreprocess } from 'svelte-preprocess';
export default {
input: './src/bundle.js',
@@ -16,6 +17,9 @@ export default {
plugins: [
svelte({
emitCss: true,
+ preprocess: sveltePreprocess({
+ postcss: true, // Use PostCSS to process TailwindCSS
+ }),
compilerOptions: {
customElement: true
}
@@ -26,9 +30,7 @@ export default {
},
delimiters: ['', '']
}),
- css({
- output: 'bundle.css'
- }),
+ postcss(),
resolve({
browser: true,
dedupe: ['svelte', 'flowbite-svelte']
diff --git a/src/components/EasyDBDetailView.svelte b/src/components/EasyDBDetailView.svelte
index 85baea8..62527fc 100644
--- a/src/components/EasyDBDetailView.svelte
+++ b/src/components/EasyDBDetailView.svelte
@@ -1,10 +1,8 @@
-
+