diff --git a/rollup.config.js b/rollup.config.js index 6e59cd48..acede78e 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -37,19 +37,19 @@ rimraf('./dist', () => console.info('recreating dist')); // config for svgedit core module const config = [ { - input: [ 'src/editor/index.js' ], + input: [ 'src/editor/Editor.js' ], output: [ { format: 'es', inlineDynamicImports: true, sourcemap: true, - file: 'dist/editor/index.js' + file: 'dist/editor/Editor.js' }, { format: 'es', inlineDynamicImports: true, sourcemap: true, - file: 'dist/editor/xdomain-index.js', + file: 'dist/editor/xdomain-Editor.js', intro: 'const XDOMAIN = true;' } ], diff --git a/src/editor/index.html b/src/editor/index.html index 1d757f44..0958477e 100644 --- a/src/editor/index.html +++ b/src/editor/index.html @@ -22,13 +22,36 @@ - +