diff --git a/.gitignore b/.gitignore index 5bd1ad2..aaf87f3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ node_modules package-lock.json -dist/*.map -dist/*.d.ts \ No newline at end of file +*.map +*.d.ts \ No newline at end of file diff --git a/dist/compact-cover-control-card.js b/compact-cover-control-card.js similarity index 100% rename from dist/compact-cover-control-card.js rename to compact-cover-control-card.js diff --git a/hacs.json b/hacs.json index e706386..134d9c6 100644 --- a/hacs.json +++ b/hacs.json @@ -2,5 +2,5 @@ "name": "Compact Cover Control Card", "render_readme": true, "filename": "compact-cover-control-card.js", - "content_in_root": false + "content_in_root": true } \ No newline at end of file diff --git a/rollup.config.mjs b/rollup.config.mjs index 95f7718..997e5df 100644 --- a/rollup.config.mjs +++ b/rollup.config.mjs @@ -6,7 +6,7 @@ import terser from '@rollup/plugin-terser'; export default { input: 'src/compact-cover-control-card.ts', output: { - file: 'dist/compact-cover-control-card.js', + file: 'compact-cover-control-card.js', format: 'es', sourcemap: true }, @@ -19,6 +19,6 @@ export default { include: /node_modules/ }), typescript(), - terser() // Add this line + terser() ] }; \ No newline at end of file