Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove src ignoring #117

Open
wants to merge 1 commit into
base: release
Choose a base branch
from

Conversation

theotimepoisseau-bib
Copy link

Hi,

The build add sourceMap files in dist folder, these sourcemap depend on src files.

Add many warnings in build tool chain when import this lib because of this.

Best regards

The build add sourceMap files in dist folder, these sourcemap depend on src files.

Add many warnings in build tool chain when import this lib because of this.
@theotimepoisseau-bib
Copy link
Author

Here is an example of warning :

[12:15:03] Warning - [webpack] 'dist':
./node_modules/typescript-collections/dist/lib/BSTree.js
Module Warning (from ./node_modules/source-map-loader/index.js):
(Emitted value instead of an instance of Error) Cannot find source file '../../src/lib/BSTree.ts': Error: Can't resolve '../../src/lib/BSTree.ts' in 'C:\Users\FP17715\Projets\MQP-Digital-debug\node_modules\typescript-collections\dist\lib'
NonErrorEmittedError: (Emitted value instead of an instance of Error) Cannot find source file '../../src/lib/BSTree.ts': Error: Can't resolve '../../src/lib/BSTree.ts' in 'C:\Users\FP17715\Projets\MQP-Digital-debug\node_modules\typescript-collections\dist\
lib'
    at emitWarning (C:\Users\FP17715\Projets\MQP-Digital-debug\node_modules\webpack\lib\NormalModule.js:154:16)
    at C:\Users\FP17715\Projets\MQP-Digital-debug\node_modules\source-map-loader\index.js:80:7
    at doResolve (C:\Users\FP17715\Projets\MQP-Digital-debug\node_modules\webpack\node_modules\enhanced-resolve\lib\Resolver.js:213:14)
    at hook.callAsync (C:\Users\FP17715\Projets\MQP-Digital-debug\node_modules\webpack\node_modules\enhanced-resolve\lib\Resolver.js:285:5)
    at _fn0 (eval at create (C:\Users\FP17715\Projets\MQP-Digital-debug\node_modules\webpack\node_modules\tapable\lib\HookCodeFactory.js:33:10), <anonymous>:15:1)
    at resolver.doResolve (C:\Users\FP17715\Projets\MQP-Digital-debug\node_modules\webpack\node_modules\enhanced-resolve\lib\UnsafeCachePlugin.js:44:7)
    at hook.callAsync (C:\Users\FP17715\Projets\MQP-Digital-debug\node_modules\webpack\node_modules\enhanced-resolve\lib\Resolver.js:285:5)
    at _fn0 (eval at create (C:\Users\FP17715\Projets\MQP-Digital-debug\node_modules\webpack\node_modules\tapable\lib\HookCodeFactory.js:33:10), <anonymous>:15:1)
    at hook.callAsync (C:\Users\FP17715\Projets\MQP-Digital-debug\node_modules\webpack\node_modules\enhanced-resolve\lib\Resolver.js:285:5)
    at _fn0 (eval at create (C:\Users\FP17715\Projets\MQP-Digital-debug\node_modules\webpack\node_modules\tapable\lib\HookCodeFactory.js:33:10), <anonymous>:27:1)
    at resolver.doResolve (C:\Users\FP17715\Projets\MQP-Digital-debug\node_modules\webpack\node_modules\enhanced-resolve\lib\DescriptionFilePlugin.js:67:43)
    at hook.callAsync (C:\Users\FP17715\Projets\MQP-Digital-debug\node_modules\webpack\node_modules\enhanced-resolve\lib\Resolver.js:285:5)
    at _fn43 (eval at create (C:\Users\FP17715\Projets\MQP-Digital-debug\node_modules\webpack\node_modules\tapable\lib\HookCodeFactory.js:33:10), <anonymous>:16:1)
    at hook.callAsync (C:\Users\FP17715\Projets\MQP-Digital-debug\node_modules\webpack\node_modules\enhanced-resolve\lib\Resolver.js:285:5)
    at _fn0 (eval at create (C:\Users\FP17715\Projets\MQP-Digital-debug\node_modules\webpack\node_modules\tapable\lib\HookCodeFactory.js:33:10), <anonymous>:27:1)
    at resolver.doResolve (C:\Users\FP17715\Projets\MQP-Digital-debug\node_modules\webpack\node_modules\enhanced-resolve\lib\DescriptionFilePlugin.js:67:43)
 @ ./node_modules/typescript-collections/dist/lib/index.js 13:15-34
 @ ./lib/services/LevelRelatedEntities/ShortLoop/ShortLoopService.js
 @ ./lib/services/index.js
 @ ./lib/webparts/productionLeanPortal/components/ProductionLeanPortal.js
 @ ./lib/webparts/productionLeanPortal/ProductionLeanPortalWebPart.js
./node_modules/typescript-collections/dist/lib/BSTreeKV.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant