diff --git a/package.json b/package.json index 951e4c8e..ff693821 100644 --- a/package.json +++ b/package.json @@ -88,7 +88,7 @@ "node-sass": "^4.5.1", "protractor": "~5.1.0", "rimraf": "^2.6.1", - "rollup": "^0.42.0", + "rollup": "^0.49.3", "rxjs": "^5.1.0", "ts-node": "~2.0.0", "tslint": "~4.4.2", diff --git a/rollup.config.js b/rollup.config.js index 183c2a90..cfa1fa8d 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -1,9 +1,11 @@ export default { - entry: 'dist/lib/markdown-to-html.module.js', - dest: 'dist/bundles/ng2-markdown-to-html.umd.js', + input: 'dist/lib/index.js', + output: { + file: 'dist/bundles/ng2-markdown-to-html.umd.js', + format: 'umd', + }, sourceMap: false, - format: 'umd', - moduleName: 'ng.markdowntohtml', + name: 'ng.markdowntohtml', globals: { '@angular/core': 'ng.core', '@angular/http': 'ng.http', diff --git a/yarn.lock b/yarn.lock index 84712e50..6dee5300 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4760,11 +4760,9 @@ ripemd160@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/ripemd160/-/ripemd160-1.0.1.tgz#93a4bbd4942bc574b69a8fa57c71de10ecca7d6e" -rollup@^0.42.0: - version "0.42.0" - resolved "https://registry.yarnpkg.com/rollup/-/rollup-0.42.0.tgz#56e791b3a2f3dd7190bbb80a375675f2fe0f9b23" - dependencies: - source-map-support "^0.4.0" +rollup@^0.49.3: + version "0.49.3" + resolved "https://registry.yarnpkg.com/rollup/-/rollup-0.49.3.tgz#4cce32643dd8cf2154c69ff0e43470067db0adbf" rsvp@^3.0.17: version "3.4.0"