diff --git a/package.json b/package.json index a575330..ffbf486 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "svgcanvas", "main": "dist/svgcanvas.js", "scripts": { - "build": "rollup index.js -o dist/svgcanvas.js -f cjs && rollup test/index.js -o dist/test.js -f iife", + "build": "rollup index.js -o dist/svgcanvas.js -f cjs && rollup index.js -o dist/svgcanvas.esm.js -f es && rollup test/index.js -o dist/test.js -f iife", "prepublishOnly": "npm run build" }, "keywords": [