Skip to content

Commit 6b0225a

Browse files
committed
- redoing switch to generateBundle (#126 #127 #128)
- using rollup's own types - min rollup bumped to 0.68 - updating dependencies - package version 0.19
1 parent 7d6dd46 commit 6b0225a

23 files changed

Lines changed: 10601 additions & 669 deletions

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ Otherwise the plugin should work in watch mode. Make sure to run a normal build
183183
### Requirements
184184

185185
TypeScript `2.4+`
186-
Rollup `0.50+`
186+
Rollup `0.68+`
187187
Node `6.4.0+` (basic es6 support)
188188

189189
### Reporting bugs

dist/context.d.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
export interface IRollupContext {
2-
warn(message: string): void;
3-
error(message: string): void;
4-
}
51
export interface IContext {
62
warn(message: string | (() => string)): void;
73
error(message: string | (() => string)): void;

dist/context.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/index.d.ts

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,6 @@
1-
import { IRollupContext } from "./context";
2-
import { IRollupCode } from "./tscache";
3-
import { IRollupOptions } from "./irollup-options";
41
import { IOptions } from "./ioptions";
52
import { Partial } from "./partial";
6-
export default function typescript(options?: Partial<IOptions>): {
7-
name: string;
8-
options(config: IRollupOptions): void;
9-
resolveId(importee: string, importer: string): string | null;
10-
load(id: string): string | undefined;
11-
transform(this: IRollupContext, code: string, id: string): IRollupCode | undefined;
12-
ongenerate(): void;
13-
onwrite({ dest, file }: IRollupOptions): void;
14-
};
3+
import { PluginImpl } from "rollup";
4+
declare const typescript: PluginImpl<Partial<IOptions>>;
5+
export default typescript;
156
//# sourceMappingURL=index.d.ts.map

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/irollup-options.d.ts

Lines changed: 0 additions & 5 deletions
This file was deleted.

dist/irollup-options.d.ts.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)