From 831da0e6781f65ad3ad9f56453c9f2d1b8f25905 Mon Sep 17 00:00:00 2001 From: Brent McSharry <2456704+mcshaz@users.noreply.github.com> Date: Sun, 26 Apr 2020 09:16:15 +1200 Subject: [PATCH] mention @rollup/plugin-url #101 and #105 --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index cee0ff7..1ffa312 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,9 @@ Inspired by [webpack/source-map-loader](https://github.com/webpack/source-map-lo Works with rollup 0.31.2 or later. If you use [rollup-plugin-babel](https://github.com/rollup/rollup-plugin-babel), -you might be able to use the [`inputSourceMap`](https://babeljs.io/docs/en/options#inputsourcemap) option instead of this plugin. +you might be able to use the [`inputSourceMap`](https://babeljs.io/docs/en/options#inputsourcemap) option instead of this plugin. Conversely, if you use this plugin alongside `rollup-plugin-babel`, you should explicitly set the Babel `inputSourceMap` option to `false`. + +If this plugin is not resolving the sourcemap URL (particularly on MS Windows), try also including the official rollup plugin [@rollup/plugin-url](https://github.com/rollup/plugins/tree/master/packages/url). ## Why?