From e8da9f54a11679b91b1bc9c913db857a616aa6e8 Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Fri, 11 Aug 2017 13:00:35 -0400 Subject: [PATCH 1/3] remove source-map-support --- bin/src/run/index.js | 3 --- package.json | 5 ++--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/bin/src/run/index.js b/bin/src/run/index.js index 5091e9fcef2..e66e4db8efa 100644 --- a/bin/src/run/index.js +++ b/bin/src/run/index.js @@ -11,9 +11,6 @@ import sequence from '../utils/sequence.js'; import build from './build.js'; import watch from './watch.js'; -import { install as installSourcemapSupport } from 'source-map-support'; -installSourcemapSupport(); - export default function runRollup ( command ) { if ( command._.length > 1 ) { handleError({ diff --git a/package.json b/package.json index 68f47620bea..76944868375 100644 --- a/package.json +++ b/package.json @@ -72,14 +72,13 @@ "rollup-watch": "^4.3.1", "sander": "^0.6.0", "source-map": "^0.5.6", - "source-map-support": "^0.4.15", "sourcemap-codec": "^1.3.0", "uglify-js": "^3.0.19" }, - "dependencies": {}, "files": [ "dist", "bin/rollup", "README.md" - ] + ], + "dependencies": {} } From d8d5eec43f721fccfac4d74ea385b44800d28ed3 Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Fri, 11 Aug 2017 13:02:41 -0400 Subject: [PATCH 2/3] update config --- rollup.config.cli.js | 1 - 1 file changed, 1 deletion(-) diff --git a/rollup.config.cli.js b/rollup.config.cli.js index a6902314a59..ceecb825f81 100644 --- a/rollup.config.cli.js +++ b/rollup.config.cli.js @@ -25,7 +25,6 @@ export default { 'path', 'module', 'events', - 'source-map-support', 'rollup' ], paths: { From 5d651a7e5acc91c17efabfa0c793a926f410702b Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Fri, 11 Aug 2017 13:10:41 -0400 Subject: [PATCH 3/3] only ship .js files --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 76944868375..759ab1f7dac 100644 --- a/package.json +++ b/package.json @@ -76,7 +76,9 @@ "uglify-js": "^3.0.19" }, "files": [ - "dist", + "dist/rollup.browser.js", + "dist/rollup.es.js", + "dist/rollup.js", "bin/rollup", "README.md" ],