Skip to content
This repository has been archived by the owner on Aug 16, 2022. It is now read-only.

Commit

Permalink
feat: TREXT_DEFAULTS
Browse files Browse the repository at this point in the history
  • Loading branch information
unicornware committed Oct 9, 2021
1 parent d747581 commit 189490e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/config/defaults.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
import type { TrextDefaults } from '@trext/types'

/**
* @file Configuration - Default Options
* @module trext/config/defaults
*/

export default {}
const DEFAULTS: TrextDefaults = {
pattern: /\..+$/,
transform: {}
}

export default DEFAULTS
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* @module trext
*/

export { default as TREXT_DEFAULTS } from './config/defaults.config'
export * from './interfaces'
export { default as Trext } from './trext'
export * from './types'
Expand Down

0 comments on commit 189490e

Please sign in to comment.