19 lines
421 B
Markdown
19 lines
421 B
Markdown
* JSX transpilation and minification with Babel and Terser.
|
|
* SASS compilation and css minification.
|
|
|
|
Tracks `*.scss` and `index.jsx` files.
|
|
|
|
Default build directory is `./dist`.
|
|
|
|
```sh
|
|
yarn gulp
|
|
# for production - no sourcemaps
|
|
yarn gulp --build
|
|
|
|
```
|
|
|
|
## TODO
|
|
|
|
* Add support for including other files:
|
|
* add [gulp-include](https://www.npmjs.com/package/gulp-include),
|
|
* modify `gulpfile.js` to watch for `'./*.jsx'`. |