├── .gitignore ├── README.md ├── dist-types ├── exported.d.ts ├── index.d.ts └── not-exported.d.ts ├── dist ├── exported.js ├── index.js └── not-exported.js ├── package.json ├── src ├── exported.ts ├── index.ts └── not-exported.ts └── tsconfig.json /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teppeis/typescript-subpath-exports-workaround/HEAD/README.md -------------------------------------------------------------------------------- /dist-types/exported.d.ts: -------------------------------------------------------------------------------- 1 | export declare function foo(): string; 2 | -------------------------------------------------------------------------------- /dist-types/index.d.ts: -------------------------------------------------------------------------------- 1 | export declare function hello(): string; 2 | -------------------------------------------------------------------------------- /dist-types/not-exported.d.ts: -------------------------------------------------------------------------------- 1 | export declare function bar(): string; 2 | -------------------------------------------------------------------------------- /dist/exported.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teppeis/typescript-subpath-exports-workaround/HEAD/dist/exported.js -------------------------------------------------------------------------------- /dist/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teppeis/typescript-subpath-exports-workaround/HEAD/dist/index.js -------------------------------------------------------------------------------- /dist/not-exported.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teppeis/typescript-subpath-exports-workaround/HEAD/dist/not-exported.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teppeis/typescript-subpath-exports-workaround/HEAD/package.json -------------------------------------------------------------------------------- /src/exported.ts: -------------------------------------------------------------------------------- 1 | export function foo() { 2 | return "foo!"; 3 | } 4 | -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teppeis/typescript-subpath-exports-workaround/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/not-exported.ts: -------------------------------------------------------------------------------- 1 | export function bar() { 2 | return "bar!"; 3 | } 4 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teppeis/typescript-subpath-exports-workaround/HEAD/tsconfig.json --------------------------------------------------------------------------------