Browse Source

Signed-off-by: Caner <5658514@qq.com>

Caner 3 years ago
parent
commit
effd07a94e
2 changed files with 3 additions and 0 deletions
  1. 2 0
      .gitignore
  2. 1 0
      package.json

+ 2 - 0
.gitignore

@@ -27,4 +27,6 @@ build/Release
 # Dependency directory
 # Dependency directory
 # https://docs.npmjs.com/misc/faq#should-i-check-my-node-modules-folder-into-git
 # https://docs.npmjs.com/misc/faq#should-i-check-my-node-modules-folder-into-git
 node_modules
 node_modules
+output.json
+dist
 
 

+ 1 - 0
package.json

@@ -12,6 +12,7 @@
     "puppeteer": "^19.4.1"
     "puppeteer": "^19.4.1"
   },
   },
   "pkg": {
   "pkg": {
+    "targets": "node18-win-x64",
     "assets": [ "/chrome/*" ],
     "assets": [ "/chrome/*" ],
     "output": "px2rem"
     "output": "px2rem"
   }  
   }