-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(angular2 webpack starter): Uncaught TypeError #203
Comments
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'
}), |
Thanks for updating webpack config! @gdi2290 |
This was referenced Nov 27, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
when i run
![error](https://cloud.githubusercontent.com/assets/5918515/12165005/f9650df2-b554-11e5-9ed0-73ecd40dcc92.png)
npm run server:prod
,My demo here: https://github.com/cuitianze/learn-your-ng2
valor-software/ngx-bootstrap#63
The text was updated successfully, but these errors were encountered: