1.0.0 • Published 8 years ago
typescript-metadata v1.0.0
Typescript __metadata
helper exported as node module
In cases, when you want to disable typescript helpers generation with --noEmitHelpers
flag, you need to include that helpers manually.
Now, you can do that easily!
Example with Webpack
// webpack configuration object
plugins: [
new webpack.ProvidePlugin({
__metadata: 'typescript-metadata'
})
],
1.0.0
8 years ago