diff --git a/build_src.js b/build_src.js index 7a48ae683..8f8315781 100644 --- a/build_src.js +++ b/build_src.js @@ -26,7 +26,7 @@ module.exports = function buildSrc() { return rollup .rollup({ - entry: './modules/id.js', + input: './modules/id.js', plugins: [ includePaths({ paths: [ @@ -34,7 +34,7 @@ module.exports = function buildSrc() { ] }), nodeResolve({ - jsnext: true, + module: true, main: true, browser: false }), @@ -47,9 +47,9 @@ module.exports = function buildSrc() { cache = bundle; return bundle.write({ format: 'iife', - dest: 'dist/iD.js', - sourceMap: true, - useStrict: false + file: 'dist/iD.js', + sourcemap: true, + strict: false }); }) .then(function() { diff --git a/package.json b/package.json index 4825ae738..e50895640 100644 --- a/package.json +++ b/package.json @@ -61,7 +61,7 @@ "npm-run-all": "^4.0.0", "phantomjs-prebuilt": "~2.1.11", "request": "^2.81.0", - "rollup": "0.45.2", + "rollup": "0.51.3", "rollup-plugin-commonjs": "8.2.6", "rollup-plugin-includepaths": "0.2.2", "rollup-plugin-json": "2.2.0",