Fix elements init, add package config

This commit is contained in:
Vadim
2021-01-24 00:03:02 +03:00
parent 0e9afa20fa
commit c395f096c2
9 changed files with 30 additions and 193 deletions

View File

@@ -32,9 +32,9 @@ export default {
input: 'src/main.js',
output: {
sourcemap: true,
format: 'iife',
format: 'es',
name: 'app',
file: 'public/build/bundle.js'
file: 'dist/index.js'
},
plugins: [
svelte({
@@ -45,7 +45,7 @@ export default {
}),
// we'll extract any component CSS out into
// a separate file - better for performance
css({ output: 'bundle.css' }),
css({ output: 'index.css' }),
// If you have external dependencies installed from
// npm, you'll most likely need these plugins. In