@manifest-ui/vessel-config-typescript
v0.1.0
Published
TypeScript configuration for beemo.
Downloads
7
Readme
Vessel - TypeScript config
A Project44 Beemo TypeScript config based on tsconfig-vessel
.
Installation
yarn install --dev typescript @beemo/core @beemo/driver-typescript @manifest-ui/vessel-config-typescript
Config will automatically assume project references are being used if a project is using workspaces.
Usage
Create a configs/typescript.ts
file in your Beemo configuration module that re-exports this config
with your own include
, exclude
, etc.
import config from '@manifest-ui/vessel-config-typescript';
export default {
...config,
include: ['src/**/*'],
};
Settings
The following settings
can be defined and will be enable compiler options.
react
(boolean | classic | automatic
) - Enable React (or React Native) syntax with the defined JSX runtime. Defaults tofalse
.
export default {
module: '<config-module>',
drivers: ['typescript'],
settings: {
react: 'automatic',
},
};