sucrase
sucrase copied to clipboard
Copy .hbs files to ./dist
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?
I also have the same problem. But this solution worked for me @thalestestoni, thanks!
That would be "out of scope" for this package to do.