electron-userland / electron-compile

DEPRECATED: Electron supporting package to compile JS and CSS in Electron applications
1.01k stars 99 forks source link

Dependency aware cache-invalidation. #177

Closed Mike-Dax closed 7 years ago

Mike-Dax commented 7 years ago

This is basically just the code written by mnquintana in #116 with some more test fixtures.

It depends on https://github.com/electron/electron-compilers/pull/58 which includes dependency finders for SASS, SCSS, LESS, Stylus and Babel. (So this will fail all the CI tests as it is, but "they pass on my system")

Babel supports both local imports as well as module imports, so changes in npm linked packages should cause cache invalidation as well.

anaisbetts commented 7 years ago

So great! Thanks for all of this great work @Mike-Dax and @mnquintana! I had to make a bunch of unrelated fixups to get everything working again but it's looking good now