Skip to content

Commit

Permalink
fix: library target
Browse files Browse the repository at this point in the history
  • Loading branch information
usagi-f committed Jul 22, 2020
1 parent 0755a0f commit a3f62d6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sync-web-storage",
"version": "0.1.3",
"version": "0.1.4",
"description": "Cross domain storage",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module.exports = {
filename: 'index.js',
path: path.join(__dirname, 'dist'),
library: 'sync-web-storage',
libraryTarget: 'umd',
libraryTarget: 'commonjs2',
},
module: {
rules: [
Expand Down

0 comments on commit a3f62d6

Please sign in to comment.