Package Exports
- @endemolshinegroup/cosmiconfig-typescript-loader
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@endemolshinegroup/cosmiconfig-typescript-loader) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@endemolshinegroup/cosmiconfig-typescript-loader
A TypeScript loader for Cosmiconfig
Installation
yarn add @endemolshinegroup/cosmiconfig-typescript-loader
Usage
import cosmiconfig from 'cosmiconfig';
import TypeScriptLoader from '@endemolshinegroup/cosmiconfig-typescript-loader';
const explorer = cosmiconfig('myModuleName', {
loaders: {
'.ts': {
async: TypeScriptLoader,
},
},
});