Monday 5 June 2017

babel taking a long time to copy a entire html-template

I'm build a project with Node+Electron and it's being built with Babel with this command:

"private:compile": "babel app/ --copy-files --out-dir build",

It's working fine. The problem started when I downloaded a HTML template that has 40mb of JS and CSS and put everything in public assets dir. Now babel takes a long to compile project because it's many many many files.

Is there any way to make babel ignores compiling and simply copy some certain files? Or make babel ignore files that hasn't changed?

thanks!



via anderlaini

No comments:

Post a Comment