If you want to include the preset with default configurations, add it to your configuration like
presets: ['pundle-preset-typescript']
But if you want to configure any of loader
, transformer
or resolver
components of the preset,
simply pass in their configurations
presets: [
['pundle-preset-typescript', {
loader: { extensions: ['jsts'] },
transformer: { extensions: ['jsts'] },
resolver: { extensions: ['jsts'] },
}]
]
To disable specific components in a preset, simply set it's config property to false
, for example
presets: [
['pundle-preset-default', {
reporter: false,
}]
]
This project is licensed under the terms of MIT License. See the root of the github repo for more info.