diff --git a/package.json b/package.json index e02a235..ffa6f0f 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "clean": "del-cli ./dist/", "ts:cjs": "tsc -m commonjs", "ts:amd": "tsc -t es5 -m amd -d false --outFile ./dist/main.js", - "ts:esm": "tsc -t esnext -m es2015 -d false --outDir ./dist/esm/", + "ts:esm": "tsc -t es2019 -m esnext -d false --outDir ./dist/esm/", "build": "npm run lint && npm run clean && npm run ts:cjs && npm run ts:amd && npm run ts:esm", "dev": "tsc -w & mocha -w ./test/*.js", "pretest": "tsc -m commonjs", @@ -85,4 +85,4 @@ }, "homepage": "https://github.com/taoqf/node-fast-html-parser", "sideEffects": false -} +} \ No newline at end of file