Skip to content

Commit cc72853

Browse files
committed
Fix incompat with default webpack config
1 parent 53b6905 commit cc72853

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"name": "scroll-into-view-if-needed",
3-
"version": "1.0.0",
3+
"version": "1.0.2",
44
"description": "Element.scrollIntoViewIfNeeded ponyfill that can animate the scrolling",
55
"main": "dist/bundle.js",
66
"scripts": {
77
"test": "echo \"Error: no test specified\" && exit 1",
8-
"build": "rollup src/index.js -c --output dist/bundle.js && rollup test/index.js -c -f umd --output test/bundle.js",
8+
"build": "rollup src/index.js --format cjs -c --output dist/bundle.js && rollup test/index.js -c -f umd --output test/bundle.js",
99
"prepublish": "npm run build"
1010
},
1111
"repository": {

0 commit comments

Comments
 (0)