Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thekevinbrown/webpack-typescript-ts2305-reproduction
https://github.com/thekevinbrown/webpack-typescript-ts2305-reproduction
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/thekevinbrown/webpack-typescript-ts2305-reproduction
- Owner: thekevinbrown
- License: mit
- Created: 2020-03-17T01:09:50.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T16:01:33.000Z (almost 2 years ago)
- Last Synced: 2023-09-06T09:44:56.587Z (over 1 year ago)
- Language: JavaScript
- Size: 1.62 MB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TS-Loader Build Error
To reproduce:
1. Clone the repo
2. `yarn`
3. `yarn build:tsc` => Success
4. `yarn build:webpack` => Error## Error Output
```
❯ yarn build:webpack
yarn run v1.22.1
$ webpack
Hash: 53c9b05c76683b63c208
Version: webpack 4.42.0
Time: 1302ms
Built at: 03/17/2020 12:33:31 PM
2 assets
Entrypoint main = index.js
[0] ./packages/b/src/index.ts 133 bytes {0} [built] [1 error]
[1] ./packages/a/lib/index.js 236 bytes {0} [built]
[2] ./packages/a/lib/some/index.js 238 bytes {0} [built]
[3] ./packages/a/lib/some/folder/index.js 236 bytes {0} [built]
[4] ./packages/a/lib/some/folder/test.js 145 bytes {0} [built]ERROR in /Users/kevin/development/webpack-typescript-TS2305-reproduction/packages/b/src/index.ts
./packages/b/src/index.ts
[tsl] ERROR in /Users/kevin/development/webpack-typescript-TS2305-reproduction/packages/b/src/index.ts(1,10)
TS2305: Module '"../../../../../../../Users/kevin/development/webpack-typescript-TS2305-reproduction/packages/a/lib"' has no exported member 'Test'.
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
```