private getAppOption()

in packages/react/react-application/src/index.tsx [212:233]


  private getAppOption() {
    const {
      jsUrl: url, id, manifest, 
      publicPath, deps
    } = this.props;

    if (!id) {
      throw new Error('You should give a id for OS Application');
    }

    return {
      url,
      id,
      name: id,
      manifest,
      deps,
      publicPath,
      customProps: {
        ...getParcelProps(this.props)
      }
    };
  }