mirror of
https://github.com/danog/react-datalist-input.git
synced 2024-12-04 18:38:07 +01:00
0423540ae7
- moves project to babel 7 - moves from webpack to rollup - adds react and react-dom to dev dependencies - adds react-testing-libary and jest - adds first unit test - adds eslint and eslint plugins to dev dependencies
36 lines
620 B
JavaScript
36 lines
620 B
JavaScript
'use strict';
|
|
|
|
const { resolveModuleName } = require('ts-pnp');
|
|
|
|
exports.resolveModuleName = (
|
|
typescript,
|
|
moduleName,
|
|
containingFile,
|
|
compilerOptions,
|
|
resolutionHost
|
|
) => {
|
|
return resolveModuleName(
|
|
moduleName,
|
|
containingFile,
|
|
compilerOptions,
|
|
resolutionHost,
|
|
typescript.resolveModuleName
|
|
);
|
|
};
|
|
|
|
exports.resolveTypeReferenceDirective = (
|
|
typescript,
|
|
moduleName,
|
|
containingFile,
|
|
compilerOptions,
|
|
resolutionHost
|
|
) => {
|
|
return resolveModuleName(
|
|
moduleName,
|
|
containingFile,
|
|
compilerOptions,
|
|
resolutionHost,
|
|
typescript.resolveTypeReferenceDirective
|
|
);
|
|
};
|