Skip to content

Commit 6696cbc

Browse files
committed
fix transpilers order
1 parent 5e54ab5 commit 6696cbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cubejs-schema-compiler/src/compiler/PrepareCompiler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,10 @@ export const prepareCompiler = (repo: SchemaFileRepository, options: PrepareComp
6161
const compiledScriptCache = options.compiledScriptCache || new LRUCache<string, vm.Script>({ max: 250 });
6262

6363
const transpilers: TranspilerInterface[] = [
64-
new IIFETranspiler(),
6564
new ValidationTranspiler(),
6665
new ImportExportTranspiler(),
6766
new CubePropContextTranspiler(cubeSymbols, cubeDictionary, viewCompiler),
67+
new IIFETranspiler(),
6868
];
6969

7070
if (!options.allowJsDuplicatePropsInSchema) {

0 commit comments

Comments
 (0)