// webpack.config.js
const { SigiTransformer } = require('@sigi/ts-plugin')
module.exports = {
// ...
module: {
rules: [
{
test: /\.(jsx|tsx|js|ts)$/,
loader: 'ts-loader',
options: {
transpileOnly: true,
getCustomTransformers: () => ({
before: [SigiTransformer],
}),
compilerOptions: {
module: 'esnext',
},
},
exclude: /node_modules/,
},
],
},
// ...
}
@sigi/ts-plugin
2.13.0 • Public • PublishedVersions
Current Tags
- VersionDownloads (Last 7 Days)
- Tag
- 2.13.02
- latest
- 2.7.1-alpha.20
- alpha
Version History
- VersionDownloads (Last 7 Days)
- Published
- 2.13.02
- 2.11.31
- 2.10.28
- 2.9.00
- 2.8.01
- 2.7.1-alpha.20
- 2.7.1-alpha.10
- 2.7.1-alpha.02
- 2.6.08
- 2.4.51
- 2.4.01
- 2.3.01
- 2.1.01
- 2.0.01
- 1.0.02
- 1.0.0-beta.10
- 1.0.0-beta.01
- 1.0.0-alpha.121
- 1.0.0-alpha.110
Package Sidebar
Install
npm i @sigi/ts-plugin
Repository
Homepage
Weekly Downloads
3
Version
2.13.0
License
MIT
Unpacked Size
94.1 kB
Total Files
29