Skip to content

Commit

Permalink
Make compatible the standalone binary with sharp image processor
Browse files Browse the repository at this point in the history
  • Loading branch information
yhatt committed Sep 25, 2024
1 parent 685d793 commit fde9ffe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
},
"pkg": {
"scripts": "lib/**/*.js",
"assets": ["tmp/icu/icudt*.dat"]
"assets": ["tmp/icu/icudt*.dat", "node_modules/sharp/**/*", "node_modules/@img/**/*"]
},
"browserslist": [
"> 1% and last 3 versions",
Expand All @@ -59,7 +59,7 @@
"lint:css": "stylelint \"src/**/*.{css,scss}\"",
"prepack": "npm-run-all --parallel check:* lint:* test:coverage --parallel build types",
"preversion": "run-p check:* lint:* test:coverage",
"standalone": "node -e 'fs.rmSync(`bin`,{recursive:true,force:true})' && pkg --options \"icu-data-dir=$(node ./scripts/icu.mjs)\" --out-path ./bin .",
"standalone": "node -e 'fs.rmSync(`bin`,{recursive:true,force:true})' && pkg --options \"icu-data-dir=$(node ./scripts/icu.mjs)\" -C Gzip --out-path ./bin .",
"standalone:pack": "node ./scripts/pack.js",
"test": "jest",
"test:coverage": "jest --coverage",
Expand Down

0 comments on commit fde9ffe

Please sign in to comment.