项目作者: olegbilyk

项目描述 :
Gulp compile SASS in WordPress
高级语言: JavaScript
项目地址: git://github.com/olegbilyk/gulp-sass-wordpress.git
创建时间: 2017-04-19T09:06:11Z
项目社区:https://github.com/olegbilyk/gulp-sass-wordpress

开源协议:MIT License

下载


gulp-sass-wordpress

Gulp compile SASS in WordPress

What’s included?

Installation

  1. $ npm i

Optionals

In file gulpfile.js

Variable theme

  1. const themeName = 'themeName'; - You theme name in themes folder
  2. const themeUrl = 'themeUrl'; - Url You installed theme
  3. const themePort = 8080; - Port for work plugin Browser Sync

Variable plugins

  1. const isAutoPrefixer = true; - Runing Auto Prefixer
  2. const isSourceMaps = true; - Runing Source Maps
  3. const isBrowserSync = true; - Runing Browser Sync
  4. const notifyComplete = false; - Runing Notify Complete

Running in gulp watch

  1. $ npm run start

Running in gulp watch (production)

  1. $ npm run start

Build sass

  1. $ npm run build

Build sass (production)

  1. $ npm run build_prod

License

MIT