diff --git a/.gitignore b/.gitignore index 3928b093..569b704a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ node_modules yarn.lock - +dist .nyc_output/* diff --git a/build/webpack.config.js b/build/webpack.config.js index 83f0cd62..dffb363a 100644 --- a/build/webpack.config.js +++ b/build/webpack.config.js @@ -7,6 +7,11 @@ module.exports = { entry: { xspreadsheet: './src/index.js', }, + output: { + library: 'Spreadsheet', + libraryTarget: 'umd', + libraryExport: 'default' + }, module: { rules: [ { diff --git a/dist/ece3e4fa05d4292823fdef970eaf1233.svg b/dist/ece3e4fa05d4292823fdef970eaf1233.svg deleted file mode 100644 index f1d112ab..00000000 --- a/dist/ece3e4fa05d4292823fdef970eaf1233.svg +++ /dev/null @@ -1,131 +0,0 @@ - \ No newline at end of file diff --git a/dist/index.html b/dist/index.html index e25b778c..23cbf1db 100644 --- a/dist/index.html +++ b/dist/index.html @@ -1,96 +1,105 @@ -
- - -