Skip to content

Commit 9715762

Browse files
committed
chore: transition from 6to5 to babel
1 parent 0185dd9 commit 9715762

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

Diff for: config/webpack.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ let config = {
3737
{
3838
test: /\.js$/,
3939
include: [path('src'), path('spec')],
40-
loader: '6to5?modules=common&experimental=true',
40+
loader: 'babel?modules=common&experimental=true',
4141
},
4242
{
4343
test: /\.pegjs/,

Diff for: gulpfile.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
require('6to5/register')
2+
require('babel-core/register')
33
global.Promise = require('bluebird')
44

55
require('glob').sync('./tasks/*.js').forEach(function(file) { require(file) })

Diff for: package.json

+2-3
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,9 @@
2828
},
2929
"homepage": "https://github.com/spacetme/bemuse",
3030
"devDependencies": {
31-
"6to5": "^3.5.3",
32-
"6to5-core": "^3.5.3",
33-
"6to5-loader": "^3.0.0",
3431
"autoprefixer-loader": "^1.0.0",
32+
"babel-core": "^4.3.0",
33+
"babel-loader": "^4.0.0",
3534
"body-parser": "^1.10.0",
3635
"browser-launcher": "^1.0.0",
3736
"bundle-loader": "^0.5.2",

Diff for: src/polyfill/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
import '6to5/polyfill'
2+
import 'babel-core/polyfill'
33
import debug from 'debug'
44
import Bluebird from 'bluebird'
55

0 commit comments

Comments
 (0)