sucrase icon indicating copy to clipboard operation
sucrase copied to clipboard

Copy .hbs files to ./dist

Open thalestestoni opened this issue 4 years ago • 2 comments

In my ./src directory I have .hbs files. When I run the build scripts, sucrase does not copy .hbs files to the ./dist directory.

My script to build:

"scripts": { "build": "sucrase ./src -d ./dist --transforms imports", }

My temporary solution is

"scripts": { "build": "sucrase ./src -d ./dist --transforms imports && cp ./src/app/views/emails/*.hbs ./dist/app/views/emails", }

Why does sucrase not copy these files?

thalestestoni avatar May 03 '20 21:05 thalestestoni

I also have the same problem. But this solution worked for me @thalestestoni, thanks!

henrique010 avatar Jun 30 '20 14:06 henrique010

That would be "out of scope" for this package to do.

aleclarson avatar Jul 08 '20 22:07 aleclarson