@mbler/mcx-core 0.0.2-alpha.r4 → 0.0.2-beta
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 -1
- package/dist/index.js +1455 -8
- package/dist/index.js.map +1 -1
- package/dist/types/transforms/index.d.ts +2 -1
- package/dist/types/transforms/utils.d.ts +1 -0
- package/package.json +4 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +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
5
|
|
|
5
6
|
interface BaseToken {
|
|
6
7
|
data: string;
|
|
@@ -230,7 +231,7 @@ declare namespace Compiler {
|
|
|
230
231
|
export type { Compiler_Context as Context };
|
|
231
232
|
}
|
|
232
233
|
|
|
233
|
-
declare function transform(compileData: MCXCompileData): Promise<string>;
|
|
234
|
+
declare function transform(compileData: MCXCompileData, cache: Map<string, MCXCompileData>, id: string, context: TransformPluginContext): Promise<string>;
|
|
234
235
|
|
|
235
236
|
declare const _default: {
|
|
236
237
|
load: typeof CompileMcxDir;
|