- #71 forcing inlineSourceMap to false

This commit is contained in:
ezolenko 2018-04-13 23:29:39 -06:00
parent 9dd2f61b29
commit 6b41d6758f
7 changed files with 9 additions and 5 deletions

View File

@ -35,6 +35,7 @@ The plugin inherits all compiler options and file lists from your `tsconfig.json
* `importHelpers`: true
* `noResolve`: false
* `noEmit`: false
* `inlineSourceMap`: false (see [#71](https://github.com/ezolenko/rollup-plugin-typescript2/issues/71))
* `outDir`: `process.cwd()`
* `declarationDir`: `process.cwd()` (*only if `useTsconfigDeclarationDir` is false in the plugin options*)
* `moduleResolution`: `node` (*`classic` is [deprecated](https://www.typescriptlang.org/docs/handbook/module-resolution.html). It also breaks this plugin, see [#12](https://github.com/ezolenko/rollup-plugin-typescript2/issues/12) and [#14](https://github.com/ezolenko/rollup-plugin-typescript2/issues/14)*)

View File

@ -19879,6 +19879,7 @@ function getOptionsOverrides(_a, tsConfigJson) {
importHelpers: true,
noResolve: false,
noEmit: false,
inlineSourceMap: false,
outDir: process.cwd(),
moduleResolution: tsModule.ModuleResolutionKind.NodeJs,
};
@ -19999,7 +20000,7 @@ function typescript(options) {
rollupOptions = __assign({}, config);
context = new ConsoleContext(pluginOptions.verbosity, "rpt2: ");
context.info("typescript version: " + tsModule.version);
context.info("rollup-plugin-typescript2 version: 0.13.1");
context.info("rollup-plugin-typescript2 version: 0.14.0");
context.debug(function () { return "plugin options:\n" + JSON.stringify(pluginOptions, function (key, value) { return key === "typescript" ? "version " + value.version : value; }, 4); });
context.debug(function () { return "rollup config:\n" + JSON.stringify(rollupOptions, undefined, 4); });
watchMode = process.env.ROLLUP_WATCH === "true";

File diff suppressed because one or more lines are too long

View File

@ -19875,6 +19875,7 @@ function getOptionsOverrides(_a, tsConfigJson) {
importHelpers: true,
noResolve: false,
noEmit: false,
inlineSourceMap: false,
outDir: process.cwd(),
moduleResolution: tsModule.ModuleResolutionKind.NodeJs,
};
@ -19995,7 +19996,7 @@ function typescript(options) {
rollupOptions = __assign({}, config);
context = new ConsoleContext(pluginOptions.verbosity, "rpt2: ");
context.info("typescript version: " + tsModule.version);
context.info("rollup-plugin-typescript2 version: 0.13.1");
context.info("rollup-plugin-typescript2 version: 0.14.0");
context.debug(function () { return "plugin options:\n" + JSON.stringify(pluginOptions, function (key, value) { return key === "typescript" ? "version " + value.version : value; }, 4); });
context.debug(function () { return "rollup config:\n" + JSON.stringify(rollupOptions, undefined, 4); });
watchMode = process.env.ROLLUP_WATCH === "true";

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
{
"name": "rollup-plugin-typescript2",
"version": "0.13.1",
"version": "0.14.0",
"description": "Seamless integration between Rollup and TypeScript. Now with errors.",
"main": "dist/rollup-plugin-typescript2.cjs.js",
"module": "dist/rollup-plugin-typescript2.es.js",

View File

@ -10,6 +10,7 @@ export function getOptionsOverrides({ useTsconfigDeclarationDir }: IOptions, tsC
importHelpers: true,
noResolve: false,
noEmit: false,
inlineSourceMap: false,
outDir: process.cwd(),
moduleResolution: tsModule.ModuleResolutionKind.NodeJs,
};