@rollup-extras/plugin-serve 1.2.2 → 1.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +2 -37
- package/package.json +4 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,38 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Plugin } from 'rollup';
|
|
2
2
|
import { ServePluginOptions } from './types';
|
|
3
|
-
export default function (options?: ServePluginOptions):
|
|
4
|
-
outputOptions: (this: PluginContext) => null;
|
|
5
|
-
buildEnd?: ((this: PluginContext, err?: Error | undefined) => void | Promise<void>) | undefined;
|
|
6
|
-
buildStart?: ((this: PluginContext, options: NormalizedInputOptions) => void | Promise<void>) | undefined;
|
|
7
|
-
closeBundle?: ((this: PluginContext) => void | Promise<void>) | undefined;
|
|
8
|
-
closeWatcher?: ((this: PluginContext) => void | Promise<void>) | undefined;
|
|
9
|
-
load?: import("rollup").LoadHook | undefined;
|
|
10
|
-
moduleParsed?: import("rollup").ModuleParsedHook | undefined;
|
|
11
|
-
options?: ((this: import("rollup").MinimalPluginContext, options: import("rollup").InputOptions) => void | import("rollup").InputOptions | Promise<void | import("rollup").InputOptions | null> | null) | undefined;
|
|
12
|
-
resolveDynamicImport?: import("rollup").ResolveDynamicImportHook | undefined;
|
|
13
|
-
resolveId?: import("rollup").ResolveIdHook | undefined;
|
|
14
|
-
shouldTransformCachedModule?: import("rollup").ShouldTransformCachedModuleHook | undefined;
|
|
15
|
-
transform?: import("rollup").TransformHook | undefined;
|
|
16
|
-
watchChange?: import("rollup").WatchChangeHook | undefined;
|
|
17
|
-
augmentChunkHash?: ((this: PluginContext, chunk: import("rollup").PreRenderedChunk) => string | void) | undefined;
|
|
18
|
-
generateBundle?: ((this: PluginContext, options: NormalizedOutputOptions, bundle: import("rollup").OutputBundle, isWrite: boolean) => void | Promise<void>) | undefined;
|
|
19
|
-
renderChunk?: import("rollup").RenderChunkHook | undefined;
|
|
20
|
-
renderDynamicImport?: ((this: PluginContext, options: {
|
|
21
|
-
customResolution: string | null;
|
|
22
|
-
format: import("rollup").InternalModuleFormat;
|
|
23
|
-
moduleId: string;
|
|
24
|
-
targetModuleId: string | null;
|
|
25
|
-
}) => void | {
|
|
26
|
-
left: string;
|
|
27
|
-
right: string;
|
|
28
|
-
} | null) | undefined;
|
|
29
|
-
renderError?: ((this: PluginContext, err?: Error | undefined) => void | Promise<void>) | undefined;
|
|
30
|
-
renderStart?: ((this: PluginContext, outputOptions: NormalizedOutputOptions, inputOptions: NormalizedInputOptions) => void | Promise<void>) | undefined;
|
|
31
|
-
resolveAssetUrl?: import("rollup").ResolveAssetUrlHook | undefined;
|
|
32
|
-
resolveFileUrl?: import("rollup").ResolveFileUrlHook | undefined;
|
|
33
|
-
resolveImportMeta?: import("rollup").ResolveImportMetaHook | undefined;
|
|
34
|
-
writeBundle?: ((this: PluginContext, options: NormalizedOutputOptions, bundle: import("rollup").OutputBundle) => void | Promise<void>) | undefined;
|
|
35
|
-
api: {
|
|
36
|
-
addInstance(): void;
|
|
37
|
-
};
|
|
38
|
-
};
|
|
3
|
+
export default function (options?: ServePluginOptions): Plugin;
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.2.
|
|
2
|
+
"version": "1.2.4",
|
|
3
3
|
"license": "MIT",
|
|
4
4
|
"name": "@rollup-extras/plugin-serve",
|
|
5
5
|
"author": {
|
|
@@ -17,7 +17,8 @@
|
|
|
17
17
|
"module": "./dist/index.mjs",
|
|
18
18
|
"typings": "./dist/index.d.ts",
|
|
19
19
|
"files": [
|
|
20
|
-
"dist"
|
|
20
|
+
"dist",
|
|
21
|
+
"LICENSE"
|
|
21
22
|
],
|
|
22
23
|
"engines": {
|
|
23
24
|
"node": ">=15"
|
|
@@ -73,6 +74,6 @@
|
|
|
73
74
|
"koa-static": "^5.0.0",
|
|
74
75
|
"koa-logger": "^3.2.1",
|
|
75
76
|
"@niceties/logger": "^1.1.4",
|
|
76
|
-
"@rollup-extras/utils": "^1.3.
|
|
77
|
+
"@rollup-extras/utils": "^1.3.5"
|
|
77
78
|
}
|
|
78
79
|
}
|