@rsbuild/core 1.3.4 → 1.3.6

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.
Files changed (48) hide show
  1. package/compiled/chokidar/index.d.ts +2 -1
  2. package/compiled/css-loader/index.js +18 -18
  3. package/compiled/html-rspack-plugin/index.js +14 -14
  4. package/compiled/http-proxy-middleware/index.d.ts +3 -2
  5. package/compiled/postcss/lib/at-rule.d.ts +140 -0
  6. package/compiled/postcss/lib/comment.d.ts +68 -0
  7. package/compiled/postcss/lib/container.d.ts +480 -0
  8. package/compiled/postcss/lib/css-syntax-error.d.ts +248 -0
  9. package/compiled/postcss/lib/declaration.d.ts +151 -0
  10. package/compiled/postcss/lib/document.d.ts +69 -0
  11. package/compiled/postcss/lib/fromJSON.d.ts +9 -0
  12. package/compiled/postcss/lib/input.d.ts +206 -0
  13. package/compiled/postcss/lib/lazy-result.d.ts +190 -0
  14. package/compiled/postcss/lib/list.d.ts +60 -0
  15. package/compiled/postcss/lib/no-work-result.d.ts +46 -0
  16. package/compiled/postcss/lib/node.d.ts +541 -0
  17. package/compiled/postcss/lib/parse.d.ts +9 -0
  18. package/compiled/postcss/lib/postcss.d.ts +458 -0
  19. package/compiled/postcss/lib/previous-map.d.ts +81 -0
  20. package/compiled/postcss/lib/processor.d.ts +115 -0
  21. package/compiled/postcss/lib/result.d.ts +205 -0
  22. package/compiled/postcss/lib/root.d.ts +87 -0
  23. package/compiled/postcss/lib/rule.d.ts +126 -0
  24. package/compiled/postcss/lib/stringifier.d.ts +46 -0
  25. package/compiled/postcss/lib/stringify.d.ts +9 -0
  26. package/compiled/postcss/lib/warning.d.ts +147 -0
  27. package/compiled/postcss/package.json +1 -1
  28. package/compiled/postcss-loader/index.js +6 -6
  29. package/compiled/rslog/index.d.ts +2 -1
  30. package/compiled/rspack-chain/index.js +66 -66
  31. package/compiled/rspack-chain/package.json +1 -1
  32. package/compiled/rspack-chain/{index.d.ts → types/index.d.ts} +18 -2
  33. package/compiled/rspack-manifest-plugin/index.d.ts +2 -1
  34. package/compiled/rspack-manifest-plugin/index.js +4 -4
  35. package/compiled/tinyglobby/index.d.ts +2 -1
  36. package/dist/index.cjs +92 -51
  37. package/dist/index.js +90 -50
  38. package/dist-types/configChain.d.ts +1 -1
  39. package/dist-types/helpers/exitHook.d.ts +3 -0
  40. package/dist-types/helpers/index.d.ts +1 -1
  41. package/dist-types/types/config.d.ts +2 -3
  42. package/dist-types/types/hooks.d.ts +6 -2
  43. package/dist-types/types/plugin.d.ts +1 -1
  44. package/dist-types/types/rspack.d.ts +1 -1
  45. package/dist-types/types/thirdParty.d.ts +2 -2
  46. package/package.json +6 -6
  47. package/types.d.ts +8 -8
  48. package/compiled/postcss/index.d.ts +0 -1
@@ -0,0 +1,205 @@
1
+ import {
2
+ Document,
3
+ Node,
4
+ Plugin,
5
+ ProcessOptions,
6
+ Root,
7
+ SourceMap,
8
+ TransformCallback,
9
+ Warning,
10
+ WarningOptions
11
+ } from './postcss.js'
12
+ import Processor from './processor.js'
13
+
14
+ declare namespace Result {
15
+ export interface Message {
16
+ [others: string]: any
17
+
18
+ /**
19
+ * Source PostCSS plugin name.
20
+ */
21
+ plugin?: string
22
+
23
+ /**
24
+ * Message type.
25
+ */
26
+ type: string
27
+ }
28
+
29
+ export interface ResultOptions extends ProcessOptions {
30
+ /**
31
+ * The CSS node that was the source of the warning.
32
+ */
33
+ node?: Node
34
+
35
+ /**
36
+ * Name of plugin that created this warning. `Result#warn` will fill it
37
+ * automatically with `Plugin#postcssPlugin` value.
38
+ */
39
+ plugin?: string
40
+ }
41
+
42
+ // eslint-disable-next-line @typescript-eslint/no-use-before-define
43
+ export { Result_ as default }
44
+ }
45
+
46
+ /**
47
+ * Provides the result of the PostCSS transformations.
48
+ *
49
+ * A Result instance is returned by `LazyResult#then`
50
+ * or `Root#toResult` methods.
51
+ *
52
+ * ```js
53
+ * postcss([autoprefixer]).process(css).then(result => {
54
+ * console.log(result.css)
55
+ * })
56
+ * ```
57
+ *
58
+ * ```js
59
+ * const result2 = postcss.parse(css).toResult()
60
+ * ```
61
+ */
62
+ declare class Result_<RootNode = Document | Root> {
63
+ /**
64
+ * A CSS string representing of `Result#root`.
65
+ *
66
+ * ```js
67
+ * postcss.parse('a{}').toResult().css //=> "a{}"
68
+ * ```
69
+ */
70
+ css: string
71
+
72
+ /**
73
+ * Last runned PostCSS plugin.
74
+ */
75
+ lastPlugin: Plugin | TransformCallback
76
+
77
+ /**
78
+ * An instance of `SourceMapGenerator` class from the `source-map` library,
79
+ * representing changes to the `Result#root` instance.
80
+ *
81
+ * ```js
82
+ * result.map.toJSON() //=> { version: 3, file: 'a.css', … }
83
+ * ```
84
+ *
85
+ * ```js
86
+ * if (result.map) {
87
+ * fs.writeFileSync(result.opts.to + '.map', result.map.toString())
88
+ * }
89
+ * ```
90
+ */
91
+ map: SourceMap
92
+
93
+ /**
94
+ * Contains messages from plugins (e.g., warnings or custom messages).
95
+ * Each message should have type and plugin properties.
96
+ *
97
+ * ```js
98
+ * AtRule: {
99
+ * import: (atRule, { result }) {
100
+ * const importedFile = parseImport(atRule)
101
+ * result.messages.push({
102
+ * type: 'dependency',
103
+ * plugin: 'postcss-import',
104
+ * file: importedFile,
105
+ * parent: result.opts.from
106
+ * })
107
+ * }
108
+ * }
109
+ * ```
110
+ */
111
+ messages: Result.Message[]
112
+
113
+ /**
114
+ * Options from the `Processor#process` or `Root#toResult` call
115
+ * that produced this Result instance.]
116
+ *
117
+ * ```js
118
+ * root.toResult(opts).opts === opts
119
+ * ```
120
+ */
121
+ opts: Result.ResultOptions
122
+
123
+ /**
124
+ * The Processor instance used for this transformation.
125
+ *
126
+ * ```js
127
+ * for (const plugin of result.processor.plugins) {
128
+ * if (plugin.postcssPlugin === 'postcss-bad') {
129
+ * throw 'postcss-good is incompatible with postcss-bad'
130
+ * }
131
+ * })
132
+ * ```
133
+ */
134
+ processor: Processor
135
+
136
+ /**
137
+ * Root node after all transformations.
138
+ *
139
+ * ```js
140
+ * root.toResult().root === root
141
+ * ```
142
+ */
143
+ root: RootNode
144
+
145
+ /**
146
+ * An alias for the `Result#css` property.
147
+ * Use it with syntaxes that generate non-CSS output.
148
+ *
149
+ * ```js
150
+ * result.css === result.content
151
+ * ```
152
+ */
153
+ get content(): string
154
+
155
+ /**
156
+ * @param processor Processor used for this transformation.
157
+ * @param root Root node after all transformations.
158
+ * @param opts Options from the `Processor#process` or `Root#toResult`.
159
+ */
160
+ constructor(processor: Processor, root: RootNode, opts: Result.ResultOptions)
161
+
162
+ /**
163
+ * Returns for `Result#css` content.
164
+ *
165
+ * ```js
166
+ * result + '' === result.css
167
+ * ```
168
+ *
169
+ * @return String representing of `Result#root`.
170
+ */
171
+ toString(): string
172
+
173
+ /**
174
+ * Creates an instance of `Warning` and adds it to `Result#messages`.
175
+ *
176
+ * ```js
177
+ * if (decl.important) {
178
+ * result.warn('Avoid !important', { node: decl, word: '!important' })
179
+ * }
180
+ * ```
181
+ *
182
+ * @param text Warning message.
183
+ * @param opts Warning options.
184
+ * @return Created warning.
185
+ */
186
+ warn(message: string, options?: WarningOptions): Warning
187
+
188
+ /**
189
+ * Returns warnings from plugins. Filters `Warning` instances
190
+ * from `Result#messages`.
191
+ *
192
+ * ```js
193
+ * result.warnings().forEach(warn => {
194
+ * console.warn(warn.toString())
195
+ * })
196
+ * ```
197
+ *
198
+ * @return Warnings from plugins.
199
+ */
200
+ warnings(): Warning[]
201
+ }
202
+
203
+ declare class Result<RootNode = Document | Root> extends Result_<RootNode> {}
204
+
205
+ export = Result
@@ -0,0 +1,87 @@
1
+ import Container, { ContainerProps } from './container.js'
2
+ import Document from './document.js'
3
+ import { ProcessOptions } from './postcss.js'
4
+ import Result from './result.js'
5
+
6
+ declare namespace Root {
7
+ export interface RootRaws extends Record<string, any> {
8
+ /**
9
+ * The space symbols after the last child to the end of file.
10
+ */
11
+ after?: string
12
+
13
+ /**
14
+ * Non-CSS code after `Root`, when `Root` is inside `Document`.
15
+ *
16
+ * **Experimental:** some aspects of this node could change within minor
17
+ * or patch version releases.
18
+ */
19
+ codeAfter?: string
20
+
21
+ /**
22
+ * Non-CSS code before `Root`, when `Root` is inside `Document`.
23
+ *
24
+ * **Experimental:** some aspects of this node could change within minor
25
+ * or patch version releases.
26
+ */
27
+ codeBefore?: string
28
+
29
+ /**
30
+ * Is the last child has an (optional) semicolon.
31
+ */
32
+ semicolon?: boolean
33
+ }
34
+
35
+ export interface RootProps extends ContainerProps {
36
+ /**
37
+ * Information used to generate byte-to-byte equal node string
38
+ * as it was in the origin input.
39
+ * */
40
+ raws?: RootRaws
41
+ }
42
+
43
+ // eslint-disable-next-line @typescript-eslint/no-use-before-define
44
+ export { Root_ as default }
45
+ }
46
+
47
+ /**
48
+ * Represents a CSS file and contains all its parsed nodes.
49
+ *
50
+ * ```js
51
+ * const root = postcss.parse('a{color:black} b{z-index:2}')
52
+ * root.type //=> 'root'
53
+ * root.nodes.length //=> 2
54
+ * ```
55
+ */
56
+ declare class Root_ extends Container {
57
+ nodes: NonNullable<Container['nodes']>
58
+ parent: Document | undefined
59
+ raws: Root.RootRaws
60
+ type: 'root'
61
+
62
+ constructor(defaults?: Root.RootProps)
63
+
64
+ assign(overrides: object | Root.RootProps): this
65
+ clone(overrides?: Partial<Root.RootProps>): this
66
+ cloneAfter(overrides?: Partial<Root.RootProps>): this
67
+ cloneBefore(overrides?: Partial<Root.RootProps>): this
68
+
69
+ /**
70
+ * Returns a `Result` instance representing the root’s CSS.
71
+ *
72
+ * ```js
73
+ * const root1 = postcss.parse(css1, { from: 'a.css' })
74
+ * const root2 = postcss.parse(css2, { from: 'b.css' })
75
+ * root1.append(root2)
76
+ * const result = root1.toResult({ to: 'all.css', map: true })
77
+ * ```
78
+ *
79
+ * @param options Options.
80
+ * @return Result with current root’s CSS.
81
+ */
82
+ toResult(options?: ProcessOptions): Result
83
+ }
84
+
85
+ declare class Root extends Root_ {}
86
+
87
+ export = Root
@@ -0,0 +1,126 @@
1
+ import Container, {
2
+ ContainerProps,
3
+ ContainerWithChildren
4
+ } from './container.js'
5
+
6
+ declare namespace Rule {
7
+ export interface RuleRaws extends Record<string, unknown> {
8
+ /**
9
+ * The space symbols after the last child of the node to the end of the node.
10
+ */
11
+ after?: string
12
+
13
+ /**
14
+ * The space symbols before the node. It also stores `*`
15
+ * and `_` symbols before the declaration (IE hack).
16
+ */
17
+ before?: string
18
+
19
+ /**
20
+ * The symbols between the selector and `{` for rules.
21
+ */
22
+ between?: string
23
+
24
+ /**
25
+ * Contains the text of the semicolon after this rule.
26
+ */
27
+ ownSemicolon?: string
28
+
29
+ /**
30
+ * The rule’s selector with comments.
31
+ */
32
+ selector?: {
33
+ raw: string
34
+ value: string
35
+ }
36
+
37
+ /**
38
+ * Contains `true` if the last child has an (optional) semicolon.
39
+ */
40
+ semicolon?: boolean
41
+ }
42
+
43
+ export type RuleProps = {
44
+ /** Information used to generate byte-to-byte equal node string as it was in the origin input. */
45
+ raws?: RuleRaws
46
+ } & (
47
+ | {
48
+ /** Selector or selectors of the rule. */
49
+ selector: string
50
+ selectors?: never
51
+ }
52
+ | {
53
+ selector?: never
54
+ /** Selectors of the rule represented as an array of strings. */
55
+ selectors: readonly string[]
56
+ }
57
+ ) & ContainerProps
58
+
59
+ // eslint-disable-next-line @typescript-eslint/no-use-before-define
60
+ export { Rule_ as default }
61
+ }
62
+
63
+ /**
64
+ * Represents a CSS rule: a selector followed by a declaration block.
65
+ *
66
+ * ```js
67
+ * Once (root, { Rule }) {
68
+ * let a = new Rule({ selector: 'a' })
69
+ * a.append(…)
70
+ * root.append(a)
71
+ * }
72
+ * ```
73
+ *
74
+ * ```js
75
+ * const root = postcss.parse('a{}')
76
+ * const rule = root.first
77
+ * rule.type //=> 'rule'
78
+ * rule.toString() //=> 'a{}'
79
+ * ```
80
+ */
81
+ declare class Rule_ extends Container {
82
+ nodes: NonNullable<Container['nodes']>
83
+ parent: ContainerWithChildren | undefined
84
+ raws: Rule.RuleRaws
85
+ type: 'rule'
86
+ /**
87
+ * The rule’s full selector represented as a string.
88
+ *
89
+ * ```js
90
+ * const root = postcss.parse('a, b { }')
91
+ * const rule = root.first
92
+ * rule.selector //=> 'a, b'
93
+ * ```
94
+ */
95
+ get selector(): string
96
+
97
+ set selector(value: string)
98
+ /**
99
+ * An array containing the rule’s individual selectors.
100
+ * Groups of selectors are split at commas.
101
+ *
102
+ * ```js
103
+ * const root = postcss.parse('a, b { }')
104
+ * const rule = root.first
105
+ *
106
+ * rule.selector //=> 'a, b'
107
+ * rule.selectors //=> ['a', 'b']
108
+ *
109
+ * rule.selectors = ['a', 'strong']
110
+ * rule.selector //=> 'a, strong'
111
+ * ```
112
+ */
113
+ get selectors(): string[]
114
+
115
+ set selectors(values: string[])
116
+
117
+ constructor(defaults?: Rule.RuleProps)
118
+ assign(overrides: object | Rule.RuleProps): this
119
+ clone(overrides?: Partial<Rule.RuleProps>): this
120
+ cloneAfter(overrides?: Partial<Rule.RuleProps>): this
121
+ cloneBefore(overrides?: Partial<Rule.RuleProps>): this
122
+ }
123
+
124
+ declare class Rule extends Rule_ {}
125
+
126
+ export = Rule
@@ -0,0 +1,46 @@
1
+ import {
2
+ AnyNode,
3
+ AtRule,
4
+ Builder,
5
+ Comment,
6
+ Container,
7
+ Declaration,
8
+ Document,
9
+ Root,
10
+ Rule
11
+ } from './postcss.js'
12
+
13
+ declare namespace Stringifier {
14
+ // eslint-disable-next-line @typescript-eslint/no-use-before-define
15
+ export { Stringifier_ as default }
16
+ }
17
+
18
+ declare class Stringifier_ {
19
+ builder: Builder
20
+ constructor(builder: Builder)
21
+ atrule(node: AtRule, semicolon?: boolean): void
22
+ beforeAfter(node: AnyNode, detect: 'after' | 'before'): string
23
+ block(node: AnyNode, start: string): void
24
+ body(node: Container): void
25
+ comment(node: Comment): void
26
+ decl(node: Declaration, semicolon?: boolean): void
27
+ document(node: Document): void
28
+ raw(node: AnyNode, own: null | string, detect?: string): string
29
+ rawBeforeClose(root: Root): string | undefined
30
+ rawBeforeComment(root: Root, node: Comment): string | undefined
31
+ rawBeforeDecl(root: Root, node: Declaration): string | undefined
32
+ rawBeforeOpen(root: Root): string | undefined
33
+ rawBeforeRule(root: Root): string | undefined
34
+ rawColon(root: Root): string | undefined
35
+ rawEmptyBody(root: Root): string | undefined
36
+ rawIndent(root: Root): string | undefined
37
+ rawSemicolon(root: Root): boolean | undefined
38
+ rawValue(node: AnyNode, prop: string): string
39
+ root(node: Root): void
40
+ rule(node: Rule): void
41
+ stringify(node: AnyNode, semicolon?: boolean): void
42
+ }
43
+
44
+ declare class Stringifier extends Stringifier_ {}
45
+
46
+ export = Stringifier
@@ -0,0 +1,9 @@
1
+ import { Stringifier } from './postcss.js'
2
+
3
+ interface Stringify extends Stringifier {
4
+ default: Stringify
5
+ }
6
+
7
+ declare const stringify: Stringify
8
+
9
+ export = stringify
@@ -0,0 +1,147 @@
1
+ import { RangePosition } from './css-syntax-error.js'
2
+ import Node from './node.js'
3
+
4
+ declare namespace Warning {
5
+ export interface WarningOptions {
6
+ /**
7
+ * End position, exclusive, in CSS node string that caused the warning.
8
+ */
9
+ end?: RangePosition
10
+
11
+ /**
12
+ * End index, exclusive, in CSS node string that caused the warning.
13
+ */
14
+ endIndex?: number
15
+
16
+ /**
17
+ * Start index, inclusive, in CSS node string that caused the warning.
18
+ */
19
+ index?: number
20
+
21
+ /**
22
+ * CSS node that caused the warning.
23
+ */
24
+ node?: Node
25
+
26
+ /**
27
+ * Name of the plugin that created this warning. `Result#warn` fills
28
+ * this property automatically.
29
+ */
30
+ plugin?: string
31
+
32
+ /**
33
+ * Start position, inclusive, in CSS node string that caused the warning.
34
+ */
35
+ start?: RangePosition
36
+
37
+ /**
38
+ * Word in CSS source that caused the warning.
39
+ */
40
+ word?: string
41
+ }
42
+
43
+ // eslint-disable-next-line @typescript-eslint/no-use-before-define
44
+ export { Warning_ as default }
45
+ }
46
+
47
+ /**
48
+ * Represents a plugin’s warning. It can be created using `Node#warn`.
49
+ *
50
+ * ```js
51
+ * if (decl.important) {
52
+ * decl.warn(result, 'Avoid !important', { word: '!important' })
53
+ * }
54
+ * ```
55
+ */
56
+ declare class Warning_ {
57
+ /**
58
+ * Column for inclusive start position in the input file with this warning’s source.
59
+ *
60
+ * ```js
61
+ * warning.column //=> 6
62
+ * ```
63
+ */
64
+ column: number
65
+
66
+ /**
67
+ * Column for exclusive end position in the input file with this warning’s source.
68
+ *
69
+ * ```js
70
+ * warning.endColumn //=> 4
71
+ * ```
72
+ */
73
+ endColumn?: number
74
+
75
+ /**
76
+ * Line for exclusive end position in the input file with this warning’s source.
77
+ *
78
+ * ```js
79
+ * warning.endLine //=> 6
80
+ * ```
81
+ */
82
+ endLine?: number
83
+
84
+ /**
85
+ * Line for inclusive start position in the input file with this warning’s source.
86
+ *
87
+ * ```js
88
+ * warning.line //=> 5
89
+ * ```
90
+ */
91
+ line: number
92
+
93
+ /**
94
+ * Contains the CSS node that caused the warning.
95
+ *
96
+ * ```js
97
+ * warning.node.toString() //=> 'color: white !important'
98
+ * ```
99
+ */
100
+ node: Node
101
+
102
+ /**
103
+ * The name of the plugin that created this warning.
104
+ * When you call `Node#warn` it will fill this property automatically.
105
+ *
106
+ * ```js
107
+ * warning.plugin //=> 'postcss-important'
108
+ * ```
109
+ */
110
+ plugin: string
111
+
112
+ /**
113
+ * The warning message.
114
+ *
115
+ * ```js
116
+ * warning.text //=> 'Try to avoid !important'
117
+ * ```
118
+ */
119
+ text: string
120
+
121
+ /**
122
+ * Type to filter warnings from `Result#messages`.
123
+ * Always equal to `"warning"`.
124
+ */
125
+ type: 'warning'
126
+
127
+ /**
128
+ * @param text Warning message.
129
+ * @param opts Warning options.
130
+ */
131
+ constructor(text: string, opts?: Warning.WarningOptions)
132
+
133
+ /**
134
+ * Returns a warning position and message.
135
+ *
136
+ * ```js
137
+ * warning.toString() //=> 'postcss-lint:a.css:10:14: Avoid !important'
138
+ * ```
139
+ *
140
+ * @return Warning position and message.
141
+ */
142
+ toString(): string
143
+ }
144
+
145
+ declare class Warning extends Warning_ {}
146
+
147
+ export = Warning
@@ -1 +1 @@
1
- {"name":"postcss","author":"Andrey Sitnik <andrey@sitnik.ru>","version":"8.5.3","funding":[{"type":"opencollective","url":"https://opencollective.com/postcss/"},{"type":"tidelift","url":"https://tidelift.com/funding/github/npm/postcss"},{"type":"github","url":"https://github.com/sponsors/ai"}],"license":"MIT","types":"index.d.ts","type":"commonjs"}
1
+ {"name":"postcss","author":"Andrey Sitnik <andrey@sitnik.ru>","version":"8.5.3","funding":[{"type":"opencollective","url":"https://opencollective.com/postcss/"},{"type":"tidelift","url":"https://tidelift.com/funding/github/npm/postcss"},{"type":"github","url":"https://github.com/sponsors/ai"}],"license":"MIT","types":"./lib/postcss.d.ts","type":"commonjs"}
@@ -1,15 +1,15 @@
1
1
  (() => {
2
2
  "use strict";
3
3
  var __webpack_modules__ = {
4
- 31: (module, __unused_webpack_exports, __nccwpck_require__) => {
5
- module.exports = __nccwpck_require__(785)["default"];
4
+ 342: (module, __unused_webpack_exports, __nccwpck_require__) => {
5
+ module.exports = __nccwpck_require__(716)["default"];
6
6
  },
7
- 785: (__unused_webpack_module, exports, __nccwpck_require__) => {
7
+ 716: (__unused_webpack_module, exports, __nccwpck_require__) => {
8
8
  var __webpack_unused_export__;
9
9
  __webpack_unused_export__ = { value: true };
10
10
  exports["default"] = loader;
11
11
  var _path = _interopRequireDefault(__nccwpck_require__(928));
12
- var _utils = __nccwpck_require__(164);
12
+ var _utils = __nccwpck_require__(237);
13
13
  function _interopRequireDefault(obj) {
14
14
  return obj && obj.__esModule ? obj : { default: obj };
15
15
  }
@@ -179,7 +179,7 @@
179
179
  callback(null, result.css, map, { ast });
180
180
  }
181
181
  },
182
- 164: (module, exports, __nccwpck_require__) => {
182
+ 237: (module, exports, __nccwpck_require__) => {
183
183
  module = __nccwpck_require__.nmd(module);
184
184
  Object.defineProperty(exports, "__esModule", { value: true });
185
185
  exports.exec = exec;
@@ -716,6 +716,6 @@
716
716
  })();
717
717
  if (typeof __nccwpck_require__ !== "undefined")
718
718
  __nccwpck_require__.ab = __dirname + "/";
719
- var __webpack_exports__ = __nccwpck_require__(31);
719
+ var __webpack_exports__ = __nccwpck_require__(342);
720
720
  module.exports = __webpack_exports__;
721
721
  })();
@@ -63,4 +63,5 @@ declare let createLogger: (options?: Options) => Logger;
63
63
 
64
64
  declare let logger: Logger;
65
65
 
66
- export { type LogFunction, type LogLevel, type LogMessage, type LogType, type Logger, type Options, createLogger, logger };
66
+ export { createLogger, logger };
67
+ export type { LogFunction, LogLevel, LogMessage, LogType, Logger, Options };