Don't always set noLineNumbers

@benjamn convinced me that line numbers are still nice, and especially
so with the changes that let them come from original source files.  And
due to
b556e62262 (commitcomment-11437623)
noLineNumbers currently totally disables source maps, which is silly.
This commit is contained in:
David Glasser
2015-05-29 17:52:41 -07:00
parent dc89eb47ea
commit 8c89cfa175

View File

@@ -491,12 +491,6 @@ _.extend(PackageSourceBatch.prototype, {
".js"),
name: self.unibuild.pkg.name || null,
declaredExports: _.pluck(self.unibuild.declaredExports, 'name'),
// It's not clear how much people end up looking at these generated files,
// so for now let's not spend lots of time writing tons of spaces every
// time we bundle the app.
// XXX BBP theory: 'meteor build' writes line numbers and 'meteor run'
// does not???
noLineNumbers: true,
imports: imports,
// XXX report an error if there is a package called global-imports
importStubServePath: isApp && '/packages/global-imports.js',