Skip to content

Commit

Permalink
- fix for #137
Browse files Browse the repository at this point in the history
  • Loading branch information
ezolenko committed Feb 19, 2019
1 parent 4bf049f commit ac9b15d
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 13 deletions.
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.

4 changes: 1 addition & 3 deletions dist/rollup-plugin-typescript2.cjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -26596,12 +26596,10 @@ const typescript = (options) => {
return undefined;
},
generateBundle(bundleOptions, _bundle, isWrite) {
self._ongenerate();
if (isWrite) {
self._onwrite(bundleOptions);
}
else {
self._ongenerate();
}
},
_ongenerate() {
context.debug(() => `generating target ${generateRound + 1}`);
Expand Down
2 changes: 1 addition & 1 deletion dist/rollup-plugin-typescript2.cjs.js.map

Large diffs are not rendered by default.

4 changes: 1 addition & 3 deletions dist/rollup-plugin-typescript2.es.js
Original file line number Diff line number Diff line change
Expand Up @@ -26592,12 +26592,10 @@ const typescript = (options) => {
return undefined;
},
generateBundle(bundleOptions, _bundle, isWrite) {
self._ongenerate();
if (isWrite) {
self._onwrite(bundleOptions);
}
else {
self._ongenerate();
}
},
_ongenerate() {
context.debug(() => `generating target ${generateRound + 1}`);
Expand Down
2 changes: 1 addition & 1 deletion dist/rollup-plugin-typescript2.es.js.map

Large diffs are not rendered by default.

5 changes: 1 addition & 4 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -273,14 +273,11 @@ const typescript: PluginImpl<Partial<IOptions>> = (options) =>

generateBundle(bundleOptions: OutputOptions, _bundle: any, isWrite: boolean): void
{
self._ongenerate();
if (isWrite)
{
self._onwrite(bundleOptions);
}
else
{
self._ongenerate();
}
},

_ongenerate(): void
Expand Down

0 comments on commit ac9b15d

Please sign in to comment.