@mbler/mcx-core 0.0.2 → 0.0.3-alpha.r202406291200

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  import { CompileOpt } from '@mbler/mcx-types';
2
2
  import * as t from '@babel/types';
3
3
  import { Expression, CallExpression, SpreadElement, ArgumentPlaceholder, ImportDeclaration, ExportNamedDeclaration, ExportAllDeclaration, ExportDefaultDeclaration } from '@babel/types';
4
- import { TransformPluginContext } from 'rollup';
4
+ import { Plugin, TransformPluginContext } from 'rollup';
5
5
 
6
6
  interface BaseToken {
7
7
  data: string;
@@ -153,6 +153,8 @@ interface MCXstructureLoc {
153
153
  }>;
154
154
  }
155
155
 
156
+ declare function mcxPlugn(opt: CompileOpt): Plugin;
157
+
156
158
  declare function CompileMcxDir(BuildOpt: CompileOpt): Promise<void>;
157
159
 
158
160
  declare class McxUtlis {
@@ -246,6 +248,7 @@ declare const _default: {
246
248
  };
247
249
  Compiler: typeof Compiler;
248
250
  utils: typeof McxUtlis;
251
+ plugin: typeof mcxPlugn;
249
252
  transform: typeof transform;
250
253
  };
251
254