diff options
author | Florian Dold <florian@dold.me> | 2021-06-02 13:56:29 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2021-06-02 13:56:29 +0200 |
commit | 5e6cc41b7a8b41aec30a81b787e5e4b5ed60661a (patch) | |
tree | 45614dac0fa24a4c3de873226a1c2ffbb14c840f /.vscode/settings.json | |
parent | 02f1d4b08116c24f0af1f32cb6d82be292fa6d10 (diff) |
fix issues with circular imports
Parts of this commit are from a patch by sebasjm. The circular imports
caused an issue with webpack. While we don't use webpack in the wallet,
the wallet should still be importable by webpack.
Some packages were importing their dependencies via "index.js", which
re-exports public exports of the package. This resulted in circular
dependencies which were resolved correctly by rollup, but not by
webpack.
Diffstat (limited to '.vscode/settings.json')
-rw-r--r-- | .vscode/settings.json | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.vscode/settings.json b/.vscode/settings.json index a30ba4651..52b266708 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -46,5 +46,7 @@ "api-extractor.json": "jsonc" }, "typescript.preferences.importModuleSpecifierEnding": "js", - "typescript.preferences.importModuleSpecifier": "project-relative" + "typescript.preferences.importModuleSpecifier": "project-relative", + "javascript.preferences.importModuleSpecifier": "project-relative", + "javascript.preferences.importModuleSpecifierEnding": "js" }
\ No newline at end of file |