I’ve been trying to pare down my Vendor folder and sort out some redundant libraries in there and I’ve experienced some behavior I don’t quite understand:
If I remove the
ember-cli-build.jsfile for certain folders then check the compiled vendorjs in the Chrome network tool it still includes the very file that had the
app.import()removed. Does it just compile everything in the vendor folder regardless of what you import in
When I manually deleted some of the libraries from the vendor directory my project failed to build. Instead it produced an error to say that a tmp path to one of the files could not be found: (ENOENT: no such file or directory, open ‘/tmp/broccoli-24367twfkULfXNr4y/out-438-broccoli_debug_debug_2_vendor_js/vendor/jquery-ui/ui/minified/jquery-ui.min.js’
This error only cleared when I replaced the deleted file - is there a more graceful way I should be removing these libraries?
Note that the above is from building with ‘ember s’ not in an ember build. Is there something fundamental I’m not understanding?