From 307e371c7c943ce4713d233a6265e0fb66221b8f Mon Sep 17 00:00:00 2001 From: Zeno Zeng Date: Sun, 13 Jun 2021 23:00:28 +0800 Subject: [PATCH] dist/svgcanvas.esm.js --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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": [