pundle-preset-typescript

2.0.0-beta26 • Public • Published

Pundle Preset Typescript

Configuration

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'] },
  }]
]

Excluding some components

To disable specific components in a preset, simply set it's config property to false, for example

presets: [
  ['pundle-preset-default', {
    reporter: false,
  }]
]

License

This project is licensed under the terms of MIT License. See the root of the github repo for more info.

Readme

Keywords

none

Package Sidebar

Install

npm i pundle-preset-typescript

Weekly Downloads

54

Version

2.0.0-beta26

License

MIT

Last publish

Collaborators

  • steelbrain