Skip to content

Commit

Permalink
revert: feat: do not depend on babel-polyfill
Browse files Browse the repository at this point in the history
This reverts commit db11d56.
  • Loading branch information
dignifiedquire committed Sep 6, 2016
1 parent bd5773b commit 47984e3
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
3 changes: 0 additions & 3 deletions config/babel.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
'use strict'

module.exports = {
plugins: [[require.resolve('babel-plugin-transform-runtime'), {
regenerator: false
}]],
presets: [require.resolve('babel-preset-es2015')]
}
2 changes: 2 additions & 0 deletions config/karma.conf.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
'use strict'

const path = require('path')
const webpackConfig = require('./webpack')
const timeout = webpackConfig.timeout

Expand All @@ -25,6 +26,7 @@ module.exports = function (config) {
}
},
files: [
path.join(require.resolve('babel-polyfill'), '/../../dist/polyfill.js'),
'test/browser.js',
'test/**/*.spec.js'
],
Expand Down
1 change: 1 addition & 0 deletions config/webpack.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ const specific = merge(custom1, custom2)

const shared = {
entry: [
require.resolve('babel-polyfill'),
path.resolve('src/index.js')
],
output: {
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"args-parser": "^1.0.2",
"babel-core": "^6.11.4",
"babel-loader": "^6.2.4",
"babel-plugin-transform-runtime": "^6.12.0",
"babel-polyfill": "^6.9.1",
"babel-preset-es2015": "^6.9.0",
"brfs": "^1.4.3",
"chalk": "^1.1.3",
Expand Down Expand Up @@ -92,4 +92,4 @@
"Stephen Whitmore <[email protected]>",
"greenkeeperio-bot <[email protected]>"
]
}
}

0 comments on commit 47984e3

Please sign in to comment.