1.0.0 • Published 3 years ago

jty-gulp v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

jty-gulp

是通過 gulp 來進行制動化构建

常用命令

jty-gulp build
jty-gulp clean
jty-gulp start

config

可以在项目根目录下创建 data.config.js 文件来指定默认配置

module.exports = {
  data: {
    date: new Date(),
    aaa: 123,
  },
  build: {
    src: "src",
    dist: "relase",
    temp: "_tep",
    public: "public",
    paths: {
      sass: "assets/styles/*.scss",
      js: "assets/scripts/*.js",
      pages: "*.html",
      images: "assets/images/**",
      fonts: "assets/fonts/**",
    },
  },
};