Skip to content

Commit 02ed7ac

Browse files
committed
- buuild for #122
1 parent 2ad63da commit 02ed7ac

5 files changed

+9
-5
lines changed

dist/index.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/rollup-plugin-typescript2.cjs.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21460,14 +21460,16 @@ function typescript(options) {
2146021460
exclude: ["*.d.ts", "**/*.d.ts"],
2146121461
abortOnError: true,
2146221462
rollupCommonJSResolveHack: false,
21463-
typescript: require("typescript"),
2146421463
tsconfig: undefined,
2146521464
useTsconfigDeclarationDir: false,
2146621465
tsconfigOverride: {},
2146721466
transformers: [],
2146821467
tsconfigDefaults: {},
2146921468
objectHashIgnoreUnknownHack: false,
2147021469
});
21470+
if (!pluginOptions.typescript) {
21471+
pluginOptions.typescript = require("typescript");
21472+
}
2147121473
setTypescriptModule(pluginOptions.typescript);
2147221474
return {
2147321475
name: "rpt2",

dist/rollup-plugin-typescript2.cjs.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/rollup-plugin-typescript2.es.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21456,14 +21456,16 @@ function typescript(options) {
2145621456
exclude: ["*.d.ts", "**/*.d.ts"],
2145721457
abortOnError: true,
2145821458
rollupCommonJSResolveHack: false,
21459-
typescript: require("typescript"),
2146021459
tsconfig: undefined,
2146121460
useTsconfigDeclarationDir: false,
2146221461
tsconfigOverride: {},
2146321462
transformers: [],
2146421463
tsconfigDefaults: {},
2146521464
objectHashIgnoreUnknownHack: false,
2146621465
});
21466+
if (!pluginOptions.typescript) {
21467+
pluginOptions.typescript = require("typescript");
21468+
}
2146721469
setTypescriptModule(pluginOptions.typescript);
2146821470
return {
2146921471
name: "rpt2",

dist/rollup-plugin-typescript2.es.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)