Skip to content

Commit

Permalink
feat: add pack command for creating zip files
Browse files Browse the repository at this point in the history
It will create distributable zip file for CI/CD or uploading.
  • Loading branch information
swashata committed Nov 12, 2018
1 parent fae5a99 commit 80d0376
Show file tree
Hide file tree
Showing 16 changed files with 983 additions and 17 deletions.
17 changes: 17 additions & 0 deletions examples/plugin/wpackio.project.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,21 @@ module.exports = {
...defaults,
plugins: ['react-hot-loader/babel'],
}),
// Files that you want to copy to your ultimate theme/plugin package
// Supports glob matching from minimatch
// @link <https://github.com/isaacs/minimatch#usage>
packageFiles: [
'inc/**',
'vendor/**',
'dist/**',
'*.php',
'*.md',
'readme.txt',
'languages/**',
'layouts/**',
'LICENSE',
'*.css',
],
// Path to package directory, relative to the root
packageDirPath: 'package',
};
Loading

0 comments on commit 80d0376

Please sign in to comment.