Skip to content

Commit

Permalink
chore: upgrade rollup
Browse files Browse the repository at this point in the history
  • Loading branch information
thgreasi committed Feb 19, 2017
1 parent d7d3f2f commit 7bcef9c
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"presets": [ "es2015-rollup" ]
"presets": [ "es2015" ]
}
13 changes: 8 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,17 @@
"url": "http://github.com/thgreasi/localForage-cordovaSQLiteDriver/issues"
},
"devDependencies": {
"babel-eslint": "^6.0.4",
"babel-preset-es2015-rollup": "^1.1.1",
"babel-eslint": "^7.1.1",
"babel-plugin-external-helpers": "^6.18.0",
"babel-preset-es2015": "^6.18.0",
"babel-register": "^6.18.0",
"babelrc-rollup": "^3.0.0",
"eslint": "^2.8.0",
"mocha": "^2.4.5",
"requirejs": "^2.2.0",
"rollup": "^0.26.1",
"rollup-plugin-babel": "^2.4.0",
"rollup-plugin-multi-entry": "^1.2.0",
"rollup": "^0.37.0",
"rollup-plugin-babel": "^2.7.1",
"rollup-plugin-multi-entry": "^2.0.1",
"source-map-support": "^0.4.0"
},
"dependencies": {
Expand Down
3 changes: 2 additions & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import babel from 'rollup-plugin-babel';
import babelrc from 'babelrc-rollup';

export default {
entry: 'lib/localforage-cordovasqlitedriver.js',
// sourceMap: true,
plugins: [babel()]
plugins: [babel(babelrc())]
};
3 changes: 2 additions & 1 deletion rollup.config.test.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import babel from 'rollup-plugin-babel';
import babelrc from 'babelrc-rollup';
import multiEntry from 'rollup-plugin-multi-entry';

export default {
entry: 'test/**/*_test.js',
plugins: [babel(), multiEntry()],
plugins: [babel(babelrc()), multiEntry()],
format: 'cjs',
intro: 'require("source-map-support").install();',
dest: 'build/test-bundle.js',
Expand Down

0 comments on commit 7bcef9c

Please sign in to comment.