@rsdoctor/types 0.0.2-beta.2 → 0.1.0

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.
@@ -1,6 +1,6 @@
1
1
  import type { Configuration } from 'webpack';
2
2
  import type { SourceMapConsumer, RawSourceMap } from 'source-map';
3
- import { LoaderData } from './loader';
3
+ import { LoaderData, ResourceLoaderData } from './loader';
4
4
  import { ResolverData } from './resolver';
5
5
  import { PluginData } from './plugin';
6
6
  import { BuilderStoreData, EMOStoreData, StoreData } from './result';
@@ -21,6 +21,8 @@ export interface RsdoctorBuilderSDKInstance extends RsdoctorSDKInstance {
21
21
  reportError(errors: Error[]): void;
22
22
  /** Report error message */
23
23
  reportLoader(data: LoaderData): void;
24
+ /** Report loader message before or after some builtin loader */
25
+ reportLoaderStartOrEnd(data: ResourceLoaderData): void;
24
26
  /** Report path request information */
25
27
  reportResolver(data: ResolverData): void;
26
28
  /** Report plugin information */
@@ -1,2 +1,2 @@
1
1
  import type connect from 'connect';
2
- export { connect };
2
+ export type { connect };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rsdoctor/types",
3
- "version": "0.0.2-beta.2",
3
+ "version": "0.1.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/web-infra-dev/rsdoctor",