mirror of
https://github.com/ezolenko/rollup-plugin-typescript2.git
synced 2025-12-08 19:06:16 +00:00
- fix for #137
This commit is contained in:
parent
4bf049fc33
commit
ac9b15defa
2
dist/index.d.ts.map
vendored
2
dist/index.d.ts.map
vendored
@ -1 +1 @@
|
||||
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["src/index.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AASpC,OAAO,EAAE,UAAU,EAA0E,MAAM,QAAQ,CAAC;AAE5G,QAAA,MAAM,UAAU,EAAE,UAAU,CAAC,OAAO,CAAC,QAAQ,CAAC,CAuW7C,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
||||
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["src/index.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AASpC,OAAO,EAAE,UAAU,EAA0E,MAAM,QAAQ,CAAC;AAE5G,QAAA,MAAM,UAAU,EAAE,UAAU,CAAC,OAAO,CAAC,QAAQ,CAAC,CAoW7C,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
||||
4
dist/rollup-plugin-typescript2.cjs.js
vendored
4
dist/rollup-plugin-typescript2.cjs.js
vendored
@ -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}`);
|
||||
|
||||
2
dist/rollup-plugin-typescript2.cjs.js.map
vendored
2
dist/rollup-plugin-typescript2.cjs.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/rollup-plugin-typescript2.es.js
vendored
4
dist/rollup-plugin-typescript2.es.js
vendored
@ -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}`);
|
||||
|
||||
2
dist/rollup-plugin-typescript2.es.js.map
vendored
2
dist/rollup-plugin-typescript2.es.js.map
vendored
File diff suppressed because one or more lines are too long
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user