Skip to content

Commit

Permalink
Merge branch 'NotWoods-import-pluginutils'
Browse files Browse the repository at this point in the history
  • Loading branch information
ezolenko committed Mar 27, 2020
2 parents 67748cc + cde185a commit fd824de
Show file tree
Hide file tree
Showing 10 changed files with 30 additions and 553 deletions.
2 changes: 1 addition & 1 deletion dist/get-options-overrides.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ import * as tsTypes from "typescript";
import { IOptions } from "./ioptions";
import { IContext } from "./context";
export declare function getOptionsOverrides({ useTsconfigDeclarationDir, cacheRoot, cwd }: IOptions, preParsedTsconfig?: tsTypes.ParsedCommandLine): tsTypes.CompilerOptions;
export declare function createFilter(context: IContext, pluginOptions: IOptions, parsedConfig: tsTypes.ParsedCommandLine): any;
export declare function createFilter(context: IContext, pluginOptions: IOptions, parsedConfig: tsTypes.ParsedCommandLine): (id: unknown) => boolean;
//# sourceMappingURL=get-options-overrides.d.ts.map
2 changes: 1 addition & 1 deletion dist/get-options-overrides.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions dist/rollup-plugin-typescript2.cjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ var os = _interopDefault(require('os'));
var path = require('path');
var path__default = _interopDefault(path);
var resolve = require('resolve');
var pluginutils = require('@rollup/pluginutils');

var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};

Expand Down Expand Up @@ -24998,8 +24999,6 @@ function printDiagnostics(context, diagnostics, pretty) {
});
}

// tslint:disable-next-line:no-var-requires
const createRollupFilter = require("rollup-pluginutils").createFilter;
function getOptionsOverrides({ useTsconfigDeclarationDir, cacheRoot, cwd }, preParsedTsconfig) {
const overrides = {
noEmitHelpers: false,
Expand Down Expand Up @@ -25050,7 +25049,7 @@ function createFilter(context, pluginOptions, parsedConfig) {
}
context.debug(() => `included:\n${JSON.stringify(included, undefined, 4)}`);
context.debug(() => `excluded:\n${JSON.stringify(excluded, undefined, 4)}`);
return createRollupFilter(included, excluded);
return pluginutils.createFilter(included, excluded);
}

function checkTsConfig(parsedConfig) {
Expand Down
2 changes: 1 addition & 1 deletion dist/rollup-plugin-typescript2.cjs.js.map

Large diffs are not rendered by default.

5 changes: 2 additions & 3 deletions dist/rollup-plugin-typescript2.es.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import util from 'util';
import os from 'os';
import path__default, { normalize as normalize$1, join, dirname, relative } from 'path';
import { sync as sync$4 } from 'resolve';
import { createFilter as createFilter$1 } from '@rollup/pluginutils';

var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};

Expand Down Expand Up @@ -24992,8 +24993,6 @@ function printDiagnostics(context, diagnostics, pretty) {
});
}

// tslint:disable-next-line:no-var-requires
const createRollupFilter = require("rollup-pluginutils").createFilter;
function getOptionsOverrides({ useTsconfigDeclarationDir, cacheRoot, cwd }, preParsedTsconfig) {
const overrides = {
noEmitHelpers: false,
Expand Down Expand Up @@ -25044,7 +25043,7 @@ function createFilter(context, pluginOptions, parsedConfig) {
}
context.debug(() => `included:\n${JSON.stringify(included, undefined, 4)}`);
context.debug(() => `excluded:\n${JSON.stringify(excluded, undefined, 4)}`);
return createRollupFilter(included, excluded);
return createFilter$1(included, excluded);
}

function checkTsConfig(parsedConfig) {
Expand Down
2 changes: 1 addition & 1 deletion dist/rollup-plugin-typescript2.es.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit fd824de

Please sign in to comment.