Fix elements init, add package config
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user