Skip to content

chore(angular2 webpack starter): Uncaught TypeError #203

Closed

Description

@TinChak

Activity

  1. PatrickJS commented on Jan 7, 2016

    @PatrickJS
    Owner

    can you update the prod config

        new DefinePlugin({
          // Environment helpers
          'process.env': {
            'ENV': JSON.stringify(metadata.ENV),
            'NODE_ENV': JSON.stringify(metadata.ENV)
          },
          // TypeScript helpers
          // '__metadata': 'Reflect.metadata',
          // '__decorate': 'Reflect.decorate'
        }),
        new ProvidePlugin({
          '__metadata': 'ts-helper/metadata',
          '__decorate': 'ts-helper/decorate',
          '__awaiter': 'ts-helper/awaiter',
          '__extends': 'ts-helper/extends',
          '__param': 'ts-helper/param',
          'Reflect': 'es7-reflect-metadata/dist/browser'
        }),
  2. TinChak commented on Jan 7, 2016

    @TinChak
    Author

    Thanks for updating webpack config! @gdi2290

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions