utils.ts 149 B

12345
  1. import { compile } from '../src'
  2. export function getCompiledString(src: string): string {
  3. return compile(src).code.match(/_push\(([^]*)\)/)![1]
  4. }