Skip to content

Commit 3e7f011

Browse files
committed
chore: remove exports
1 parent 1106bb9 commit 3e7f011

2 files changed

Lines changed: 1 addition & 8 deletions

File tree

packages/template/src/index.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,8 @@
11
import type { EngineOptions, ObjectType } from './types'
22
import { Engine } from './engine'
33

4-
export * from './compiler'
5-
export * from './config'
64
export * from './engine'
7-
export * from './out-script'
8-
export * from './safe'
9-
export * from './source-map'
10-
export * from './tags'
115
export type * from './types'
12-
export * from './utils'
136

147
export async function render(template: string, data: ObjectType, options?: EngineOptions) {
158
return new Engine(options).render(template, data)

packages/template/test/__helper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { EngineOptions } from '../src/types'
2-
import { Compiler } from '../src'
2+
import { Compiler } from '../src/compiler'
33
import { defaultOptions, Engine } from '../src/engine'
44
import { Tokenizer } from '../src/tokenizer'
55

0 commit comments

Comments
 (0)