gulp-wp-block/README.md

19 lines
421 B
Markdown
Raw Normal View History

2020-06-29 20:23:42 +00:00
* JSX transpilation and minification with Babel and Terser.
* SASS compilation and css minification.
2020-06-29 20:29:32 +00:00
Tracks `*.scss` and `index.jsx` files.
2020-06-29 20:23:42 +00:00
Default build directory is `./dist`.
```sh
yarn gulp
# for production - no sourcemaps
yarn gulp --build
```
2020-06-30 19:29:43 +00:00
## TODO
* Add support for including other files:
* add [gulp-include](https://www.npmjs.com/package/gulp-include),
* modify `gulpfile.js` to watch for `'./*.jsx'`.