comment out babel
This commit is contained in:
parent
974e90a31a
commit
857bff7e9e
|
|
@ -1,6 +1,6 @@
|
||||||
import { css } from './common/tags.ts';
|
import { css } from './common/tags.ts';
|
||||||
import { FolkRope } from './folk-rope.ts';
|
import { FolkRope } from './folk-rope.ts';
|
||||||
import * as parser from '@babel/parser';
|
// import * as parser from '@babel/parser';
|
||||||
import type { Node } from '@babel/types';
|
import type { Node } from '@babel/types';
|
||||||
|
|
||||||
const styles = css`
|
const styles = css`
|
||||||
|
|
@ -199,7 +199,7 @@ to.${key} = ${value};`);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
function parseAst(functionBody: string) {
|
/* function parseAst(functionBody: string) {
|
||||||
const ast = parser.parse(functionBody, {
|
const ast = parser.parse(functionBody, {
|
||||||
sourceType: 'script',
|
sourceType: 'script',
|
||||||
});
|
});
|
||||||
|
|
@ -238,4 +238,4 @@ function parseAst(functionBody: string) {
|
||||||
|
|
||||||
console.log('Properties accessed on to:', Array.from(toProps));
|
console.log('Properties accessed on to:', Array.from(toProps));
|
||||||
console.log('Properties accessed on from:', Array.from(fromProps));
|
console.log('Properties accessed on from:', Array.from(fromProps));
|
||||||
}
|
} */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue