customization - How to clean up the theme for production?

Is there some automated way to generate a distproduction version of the theme without all of the hidden .git, IDE direc

Is there some automated way to generate a dist/production version of the theme without all of the hidden .git, IDE directories and the config files, node_modules?

WARNING: .babelrc .git .gitignore .idea .sass-cache .bin .npmignore .github .travis.yml .coveralls.yml .eslintrc .gitattributes .jshintrc .verb.md Hidden Files or Folders found.

REQUIRED: Please remove any extraneous directories like .git or .svn from the ZIP file before uploading it.

Is there some automated way to generate a dist/production version of the theme without all of the hidden .git, IDE directories and the config files, node_modules?

WARNING: .babelrc .git .gitignore .idea .sass-cache .bin .npmignore .github .travis.yml .coveralls.yml .eslintrc .gitattributes .jshintrc .verb.md Hidden Files or Folders found.

REQUIRED: Please remove any extraneous directories like .git or .svn from the ZIP file before uploading it.
Share Improve this question edited Jun 30, 2019 at 10:30 rits asked Jun 30, 2019 at 9:44 ritsrits 1033 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 1

You can use gulp zip to do that. Take a look here https://www.npmjs/package/gulp-zip. This will let you zip up your theme with a terminal command and you can ignore whichever folders you want.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745357050a4624182.html

相关推荐

  • customization - How to clean up the theme for production?

    Is there some automated way to generate a distproduction version of the theme without all of the hidden .git, IDE direc

    4小时前
    20

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信