Skip to content

Commit 87db3a8

Browse files
committed
Add 'js' directory to package.json files array
The 'js' directory was added to the files array in package.json for the wordpress-settings plugin. This allows npm to include the javascript files in node_modules when packaging the plugin.
1 parent 9911f86 commit 87db3a8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"postpackages-update": "npm run build",
1919
"plugin-zip": "wp-scripts plugin-zip"
2020
},
21-
"files": [ "dist", "src", "bootstrap.php", "wordpress-settings.php"],
21+
"files": [ "dist", "src", "js","bootstrap.php", "wordpress-settings.php"],
2222
"lint-staged": {
2323
"*.{js,jsx}": "eslint"
2424
},

0 commit comments

Comments
 (0)