Skip to content
This repository has been archived by the owner on Oct 9, 2020. It is now read-only.

Commit

Permalink
0.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford committed Feb 1, 2015
1 parent 3229ce2 commit 2d83dd5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions compilers/es6.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ exports.compile = function(load, opts, loader) {

var source = load.source;

if (loader.parser == '6to5') {
if (loader.transpiler == '6to5') {
options = loader.to5Options || {};
options.modules = 'system';
if (opts.sourceMaps)
Expand Down Expand Up @@ -87,7 +87,7 @@ exports.compile = function(load, opts, loader) {

tree = transformer.transformAny(tree);

if (loader.parser == 'traceur')
if (loader.transpiler == 'traceur')
tree = compiler.transform(tree, load.name);

var source = compiler.write(tree, load.address);
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "systemjs-builder",
"version": "0.6.0",
"version": "0.7.0",
"description": "SystemJS Build Tool ===",
"main": "index.js",
"directories": {
Expand All @@ -10,13 +10,13 @@
"mkdirp": "^0.5.0",
"rsvp": "^3.0.16",
"source-map": "~0.2.0",
"systemjs": "^0.12.1",
"systemjs": "^0.13.0",
"traceur": "0.0.82",
"6to5": "^3.1.1",
"6to5": "~3.3.2",
"uglify-js": "^2.4.15"
},
"devDependencies": {
"es6-module-loader": "0.12.0",
"es6-module-loader": "0.13.0",
"react-tools": "^0.12.1"
},
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion test/run-build.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ builder.loadConfig('./cfg.js')
.then(function() {

if (process.argv[2] == '6to5')
builder.loader.parser = '6to5';
builder.loader.transpiler = '6to5';

builder.build('tree/first', 'tree-build.js', { sourceMaps: true })
.then(function() {
Expand Down

0 comments on commit 2d83dd5

Please sign in to comment.