Skip to content

Commit

Permalink
Merge pull request #22 from software-mansion-labs/@exploIF/exclude-re…
Browse files Browse the repository at this point in the history
…dundant-files-from-bundle

remove redundant files from bundle
  • Loading branch information
exploIF authored May 22, 2024
2 parents ecd36bc + 392f5e5 commit 7dbcdfc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@
},
"files": [
"react-native-icon-pack/src/",
"react-icon-pack/dist/",
"react-icon-pack/dist/index.d.mts",
"react-icon-pack/dist/index.d.ts",
"react-icon-pack/dist/index.js",
"react-icon-pack/dist/index.mjs",
"fonts/",
"types/"
],
Expand All @@ -40,6 +43,7 @@
"format:example:fix": "cd example && yarn format:fix",
"format:exampleNative:fix": "cd exampleNative && yarn format:fix",
"format:all:fix": "yarn format:fix && yarn format:native:fix && yarn format:web:fix && yarn format:example:fix && yarn format:exampleNative:fix",
"prebuild": "cd react-icon-pack && yarn && cd ..",
"build": "cd react-icon-pack && yarn build",
"generate-fonts": "./cli.js"
},
Expand Down
4 changes: 2 additions & 2 deletions react-icon-pack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
"name": "react-icon-pack",
"version": "0.0.0",
"scripts": {
"build": "tsup src/index.ts --format cjs,esm --dts",
"build": "yarn generateIcons && tsup src/index.ts --format cjs,esm --dts",
"lint": "tsc && eslint src/**",
"ci": "yarn generateIcons && yarn lint && yarn build",
"ci": "yarn lint && yarn build",
"format": "prettier . --check",
"format:write": "prettier . --write",
"prepublishOnly": "yarn ci",
Expand Down

0 comments on commit 7dbcdfc

Please sign in to comment.