Skip to content

Commit

Permalink
Merge ef57287 into 12cd4b0
Browse files Browse the repository at this point in the history
  • Loading branch information
pYr0x committed Apr 7, 2016
2 parents 12cd4b0 + ef57287 commit 3933f2f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
3 changes: 0 additions & 3 deletions lib/build/multi.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,6 @@ var transpile = require("../stream/transpile");
module.exports = function(config, options){
// Use the build-development environment.
if(!options) options = {};
options.localStealConfig = {
env: "build-development"
};

// Watch mode, return a continously building stream.
if(options.watch) {
Expand Down
7 changes: 2 additions & 5 deletions lib/build/transform.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,8 @@ var toss = function(e){
};

var transformImport = function(config, transformOptions){
transformOptions = _.assign(transformOptions||{}, {
useNormalizedDependencies: true,
localStealConfig: {
env: "build-development"
}
transformOptions = _.assign(transformOptions || {}, {
useNormalizedDependencies: true
});
if(transformOptions.sourceMaps) {
_.assign(config, {
Expand Down
2 changes: 1 addition & 1 deletion lib/graph/make_graph.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module.exports = function(config, options){
var localSteal = steal.clone();
addParseAMD( localSteal.System );

localSteal.System.config({ env: "development" });
localSteal.System.config({ env: "build-development" });
localSteal.System.config(_.omit(config, ["meta"]));
if(options.localStealConfig) {
localSteal.System.config(options.localStealConfig);
Expand Down

0 comments on commit 3933f2f

Please sign in to comment.