How to use @adonisjs/ioc-transformer - 2 common examples

To help you get started, we’ve selected a few @adonisjs/ioc-transformer examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github adonisjs / adonis-cli / src / Services / Compiler.ts View on Github external
    this._compiler.use((ts) => iocTransformer(ts, this._rcFile), 'after')
github adonisjs / assembler / src / Compiler / index.ts View on Github external
this.tsCompiler.use(() => {
      return iocTransformer(this.tsCompiler.ts, this.rcFile.application.rcFile)
    }, 'after')
  }

@adonisjs/ioc-transformer

Typescript transformer to transform import statements to IoC container use calls

MIT
Latest version published 2 years ago

Package Health Score

51 / 100
Full package analysis

Popular @adonisjs/ioc-transformer functions