Skip to content

Commit

Permalink
rollup config: Transpile detect-indent
Browse files Browse the repository at this point in the history
  • Loading branch information
papandreou committed Jan 13, 2019
1 parent b7b3a8c commit 7e14b3f
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 25 deletions.
25 changes: 0 additions & 25 deletions .babelrc

This file was deleted.

14 changes: 14 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
module.exports = {
presets: [
[
'@babel/preset-env',
{
targets: {
browsers: ['last 3 versions', 'ie >=10', 'safari >= 8']
},
useBuiltIns: 'entry',
modules: false
}
]
]
};
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,12 @@
"greedy-interval-packer": "1.2.0",
"leven": "2.1.0",
"magicpen": "5.12.0",
"rollup-plugin-babel": "^4.3.0",
"unexpected-bluebird": "2.9.34-longstack2"
},
"devDependencies": {
"@babel/core": "^7.2.2",
"@babel/preset-env": "^7.2.3",
"babel-cli": "^6.26.0",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-es2015-without-strict": "^0.0.4",
Expand Down
3 changes: 3 additions & 0 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ module.exports = {
},
plugins: [
/* eslint import/no-extraneous-dependencies: ["error", {"devDependencies": true}] */
require('rollup-plugin-babel')({
include: '**/node_modules/detect-indent/**/*.js'
}),
require('rollup-plugin-commonjs')(),
require('rollup-plugin-node-resolve')(),
require('rollup-plugin-node-globals')(),
Expand Down

0 comments on commit 7e14b3f

Please sign in to comment.