Skip to content

Commit

Permalink
- redoing switch to generateBundle (#126 #127 #128)
Browse files Browse the repository at this point in the history
- using rollup's own types
- min rollup bumped to 0.68
- updating dependencies
- package version 0.19
  • Loading branch information
ezolenko committed Jan 4, 2019
1 parent 7d6dd46 commit 6b0225a
Show file tree
Hide file tree
Showing 23 changed files with 10,601 additions and 669 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ Otherwise the plugin should work in watch mode. Make sure to run a normal build
### Requirements

TypeScript `2.4+`
Rollup `0.50+`
Rollup `0.68+`
Node `6.4.0+` (basic es6 support)

### Reporting bugs
Expand Down
4 changes: 0 additions & 4 deletions dist/context.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
export interface IRollupContext {
warn(message: string): void;
error(message: string): void;
}
export interface IContext {
warn(message: string | (() => string)): void;
error(message: string | (() => string)): void;
Expand Down
2 changes: 1 addition & 1 deletion dist/context.d.ts.map

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

15 changes: 3 additions & 12 deletions dist/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,6 @@
import { IRollupContext } from "./context";
import { IRollupCode } from "./tscache";
import { IRollupOptions } from "./irollup-options";
import { IOptions } from "./ioptions";
import { Partial } from "./partial";
export default function typescript(options?: Partial<IOptions>): {
name: string;
options(config: IRollupOptions): void;
resolveId(importee: string, importer: string): string | null;
load(id: string): string | undefined;
transform(this: IRollupContext, code: string, id: string): IRollupCode | undefined;
ongenerate(): void;
onwrite({ dest, file }: IRollupOptions): void;
};
import { PluginImpl } from "rollup";
declare const typescript: PluginImpl<Partial<IOptions>>;
export default typescript;
//# sourceMappingURL=index.d.ts.map
2 changes: 1 addition & 1 deletion dist/index.d.ts.map

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

5 changes: 0 additions & 5 deletions dist/irollup-options.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion dist/irollup-options.d.ts.map

This file was deleted.

Loading

0 comments on commit 6b0225a

Please sign in to comment.