Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
feat: Rollup@1.0 support #532
Had to change how the plugin reported dependencies, as well as invent a new way of marking files as being replaceable in
This has the downside of never removing files when they've been deleted/renamed, but I think that's probably ok? We'll see! At the very least it won't be a breaking change to add functionality to check for the file on disk when the
@@ Coverage Diff @@ ## master #532 +/- ## ========================================== + Coverage 99.11% 99.13% +0.01% ========================================== Files 39 40 +1 Lines 907 922 +15 Branches 135 138 +3 ========================================== + Hits 899 914 +15 Misses 8 8
Jan 1, 2019
referenced this pull request
Jan 4, 2019
BTW not deleting files is quite in line with what rollup does i.e. just use hashes in watch mode, make some changes and watch your target directory fill up...
I guess we need a dedicated cleanup plugin that uses the "manifest" you get in the generateBundle hook to clean up the diffing files. That is if you use the asset emission API.