0.1.0 • Published 1 year ago

esbuild-plugin-typescript-decorators v0.1.0

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

English  |  中文


The esbuild build tool does not support typescript's emitdecoratormetadata by default.

when using decorator development, when obtaining such as Reflect.getMetadata ("design: type", target, key), it returns undefined by default. However, using this plugin, it will return the correct value by use the above method

Usage

import esbuild from 'esbuild'
import { esbuildDecorators } from 'esbuild-plugin-typescript-decorators'

esbuild.build({
    // ...config,
    plugins: [
        esbuildDecorators()
    ]
})
0.1.0

1 year ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.1

2 years ago