This commit is contained in:
a-ill
2023-07-03 14:53:23 +03:00
parent d377613298
commit e202751eab
3 changed files with 34 additions and 29 deletions

View File

@@ -34,7 +34,6 @@ function serve() {
const walkSync = require("walk-sync");
const paths = walkSync("./src", {globs: ["**/*.svelte"]}).map(x => "src/"+x)
export default {
@@ -51,15 +50,7 @@ export default {
customElement: true,
}
}),
// we'll extract any component CSS out into
// a separate file - better for performance
css({ output: 'bundle.css' }),
// If you have external dependencies installed from
// npm, you'll most likely need these plugins. In
// some cases you'll need additional configuration -
// consult the documentation for details:
// https://github.com/rollup/plugins/tree/master/packages/commonjs
resolve({
browser: true,
dedupe: ['svelte']