Files
meteor/tools
David Glasser b1183b5059 Assets in packages must be explicitly declared
In the past, `api.addFiles('foo.gif')` would make foo.gif an asset if
there was no extension handler for gif active.  In fact, it would make
it a dual client/server asset even if that was unintentional.

This led to a few problems:
(a) People often left out 'client' and ended up packaging an unnecessary
    second server copy of the asset
(b) The implementation meant that `api.addFiles('foo.css')` would actually
    add foo.css as a static asset on the server (this was already fixed
    on batch-plugins via explicitly looking for wrong-arch
    classifications)
(c) Now that we have linters, if a file is used by a linter but not by a
    compiler (eg linter config files), there was no way to say in a
    package "add this file, but just for linters, don't make it a static
    asset too".

These are only really issues in packages, not apps.  In apps, we avoid
them by only marking things as static assets if they are in public or
private (and not letting those things be considered as other kinds of
sources).

This is a backwards-incompatible change, but it does not affect apps or
published packages, just packages built from source.
2015-07-09 15:17:56 -07:00
..
2015-02-10 11:56:20 -08:00
2015-07-08 23:51:34 -07:00
2014-12-04 17:56:04 -08:00
2015-02-04 12:57:17 -08:00
2015-03-30 19:56:35 -07:00
2015-06-26 17:35:51 -07:00
2015-07-07 18:27:01 -07:00
2014-06-13 17:14:42 -07:00
2015-02-13 20:36:45 -08:00
2015-02-17 09:22:48 -08:00