mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
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:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user