Skip to content

Commit a9bf319

Browse files
committed
added stage=1 for babel
1 parent 4a10f18 commit a9bf319

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

es6.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ define([
4343
var code = babel.transform(text, {
4444
modules: 'amd',
4545
sourceMap: config.isBuild ? false :'inline',
46-
sourceFileName: name
46+
sourceFileName: name,
47+
stage: 1
4748
}).code;
4849

4950
if (config.isBuild) {

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
{
22
"name": "requirejs-babel",
3-
"version": "0.0.6",
3+
"version": "0.1.0",
44
"description": "An AMD loader plugin for Babel",
55
"repository": {
66
"type": "git",
7-
"url": "https://github.com/mikach/requirejs-babel"
7+
"url": "https://github.com/hipertracker/requirejs-babel"
88
},
99
"main": "index.js",
1010
"scripts": {
1111
"optimize": "r.js -o demo/build.config.js",
1212
"test": "echo \"Error: no test specified\" && exit 1"
1313
},
14-
"author": "Michael <mikach27@gmail.com>",
14+
"author": "Jaroslaw Zabiello <hipertracker@gmail.com>",
1515
"license": "MIT",
1616
"devDependencies": {
1717
"requirejs": "^2.1.18"

0 commit comments

Comments
 (0)