Closed futurist closed 5 years ago
In a scenario that can just copy to serve: dist folder, with any compile.
serve: dist
Like an images folder, and some helper scripts like service-worker.js that not be bundled to any scripts.
images
service-worker.js
This may call copy, like below:
copy
copy: { watch: 'src/**/*.jpg' }
I think this should be trivial to script in node yourself and outside the scope of wright.
In a scenario that can just copy to
serve: dist
folder, with any compile.Like an
images
folder, and some helper scripts likeservice-worker.js
that not be bundled to any scripts.This may call
copy
, like below: