Commit 7502863a authored by rockyl's avatar rockyl

改为es5编译

parent 9f6e349a
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
<component name="NewModuleRootManager" inherit-compiler-output="true"> <component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output /> <exclude-output />
<content url="file://$MODULE_DIR$" /> <content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" /> <orderEntry type="sourceFolder" forTests="false" />
</component> </component>
</module> </module>
\ No newline at end of file
{ {
"name": "html-shot", "name": "html-shot",
"version": "1.0.3", "version": "1.0.4",
"main": "dist/index.js", "main": "dist/index.js",
"types": "types/index.d.ts", "types": "types/index.d.ts",
"license": "MIT", "license": "MIT",
......
{ {
"compilerOptions": { "compilerOptions": {
"module": "ES6", "module": "ES6",
"target": "ES2017", "target": "ES5",
"outDir": "dist", "outDir": "dist",
"declaration": true, "declaration": true,
"declarationDir": "types", "declarationDir": "types",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment