diff --git a/examples/npm/.gitignore b/examples/npm/.gitignore new file mode 100644 index 0000000..20c0e5c --- /dev/null +++ b/examples/npm/.gitignore @@ -0,0 +1,2 @@ +index-build.js +package-lock.json diff --git a/examples/npm/package.json b/examples/npm/package.json index 9da4e13..b0b2572 100644 --- a/examples/npm/package.json +++ b/examples/npm/package.json @@ -2,6 +2,7 @@ "name": "html5bytebeat-via-npm", "version": "1.0.0", "description": "", + "type": "module", "scripts": { "build": "rollup -c" }, @@ -9,8 +10,8 @@ "bytebeat.js": "^2.0.0" }, "devDependencies": { - "@rollup/plugin-node-resolve": "^14.1.0", - "rollup": "^2.79.0" + "@rollup/plugin-node-resolve": "^15.3.0", + "rollup": "^4.24.0" }, "keywords": [], "author": "",