How to use the ern-container-gen.generateContainer function in ern-container-gen

To help you get started, we’ve selected a few ern-container-gen 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 electrode-io / electrode-native / ern-container-gen-android / src / AndroidGenerator.ts View on Github external
public async generate(
    config: ContainerGeneratorConfig
  ): Promise {
    return generateContainer(config, {
      fillContainerHull: this.fillContainerHull.bind(this),
      postBundle: this.postBundle.bind(this),
    })
  }
github electrode-io / electrode-native / ern-container-gen-ios / src / IosGenerator.ts View on Github external
public async generate(
    config: ContainerGeneratorConfig
  ): Promise {
    return generateContainer(config, {
      fillContainerHull: this.fillContainerHull.bind(this),
      postCopyRnpmAssets: this.addResources.bind(this),
    })
  }