Skip to content

Commit 7bf5e46

Browse files
committed
chore(build): reduce npm package size
1 parent fa1d828 commit 7bf5e46

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
src/
2-
.*
2+
.*
3+
*.test.js

packages/smooth-backend-wordpress/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"license": "MIT",
1919
"scripts": {
2020
"prebuild": "shx rm -rf lib",
21-
"build": "babel --root-mode upward -d lib --copy-files --ignore \"**/*.test.js\" src",
21+
"build": "babel --root-mode upward -d lib --ignore \"**/*.test.js\" --copy-files src",
2222
"prepublishOnly": "yarn run build"
2323
},
2424
"peerDependencies": {

packages/smooth-core/.npmignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
src/
2-
.*
2+
.*
3+
__fixtures__/

0 commit comments

Comments
 (0)