@moneko/core 3.0.4 → 3.0.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moneko/core",
3
- "version": "3.0.4",
3
+ "version": "3.0.5",
4
4
  "description": "core",
5
5
  "main": "lib/index.js",
6
6
  "type": "module",
@@ -121,7 +121,7 @@ export declare type ConfigType<T extends 'tsc' | 'swc' = 'swc'> = {
121
121
  /** 解析js/ts前置的loader
122
122
  * @example
123
123
  * ```js
124
- * const conf: PartialConfigType = {
124
+ * const conf: Partial<ConfigType> = {
125
125
  * compiler: 'tsc',
126
126
  * prefixJsLoader: [
127
127
  * {
@@ -573,16 +573,16 @@ export type SwcImportOnDemandTransform = Record<
573
573
  * ```javascript
574
574
  * const conf = {
575
575
  * importOnDemand: {
576
- * 'neko-ui': {
576
+ * 'antd': {
577
577
  * transform: 'es/${member}',
578
578
  * memberTransformers: ['dashed_case']
579
579
  * }
580
580
  * }
581
581
  * }
582
582
  * // 以下代码将会按照预期进行转换
583
- * import { Button } from 'neko-ui';
583
+ * import { Button } from 'antd';
584
584
  * // to
585
- * import Button from 'neko-ui/es/button'
585
+ * import Button from 'antd/es/button'
586
586
  * ```
587
587
  */
588
588
  transform: string;