gulp-wp-block/README.md

421 B

  • JSX transpilation and minification with Babel and Terser.
  • SASS compilation and css minification.

Tracks *.scss and index.jsx files.

Default build directory is ./dist.

yarn gulp
# for production - no sourcemaps
yarn gulp --build

TODO

  • Add support for including other files:
    • add gulp-include,
    • modify gulpfile.js to watch for './*.jsx'.