From 0c60bbdf5e407d315967f3c226080f9f0a752a21 Mon Sep 17 00:00:00 2001 From: Jorge Bucaran Date: Wed, 22 Sep 2021 21:24:54 +0900 Subject: [PATCH] Add --no-esModule and --interop back --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f2d4171..8034c40 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ ], "scripts": { "test": "c8 twist tests/*.js", - "build": "npx rollup --format cjs --input index.js --file index.cjs", + "build": "npx rollup --interop=esModule --no-esModule --format cjs --input index.js --file index.cjs", "deploy": "npm test && git commit --all --message $tag && git tag --sign $tag --message $tag && git push && git push --tags", "release": "tag=$npm_package_version npm run deploy && npm publish --access public", "prepare": "npm run build"