Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 473 Bytes

File metadata and controls

20 lines (15 loc) · 473 Bytes

@qiwi/uniconfig-plugin-root

Uniconfig app root resolver plugin

Install

  npm i @qiwi/uniconfig-plugin-root
  yarn add @qiwi/uniconfig-plugin-root

Usage

import uniconfig, {rollupPlugin} from '@qiwi/uniconfig-core'
import uniconfigPluginRoot from '@qiwi/uniconfig-plugin-root'
    
rollupPlugin(uniconfigPluginRoot)
const config = uniconfig({pipeline: 'root', mode: 'sync'}) 

config.get()  //  '/Users/antongolub/projects/uniconfig'