Ignore Lists for builds?

How do I ignore a JS file from my build?

Rename the file to start with a dot. If you want to only include some files in development and not production, you need to create a Meteor package and put debugOnly: true into Package.describe({...}).

Note that in Meteor 1.3 if you put your files in the ‘imports’ directory you can simply not import the file to avoid including it in your app.

wow exactly what I am looking for… how long till it’s in beta?

It’s in beta now!

Here’s the relevant issue: https://github.com/meteor/meteor/issues/5788

There are directions there for how to try the beta. The documentation is a bit scattered right now but the gist is, you put files in imports and then use ES2015 import/export to manage file loading.