Skip to content

Commit

Permalink
revert starknet module resolution to NodeNext
Browse files Browse the repository at this point in the history
workaround for imports in get-starknet-core
  • Loading branch information
sameoldlab committed May 8, 2024
1 parent 65442e3 commit 1dbdcc6
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 14 deletions.
8 changes: 5 additions & 3 deletions packages/starknet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,13 @@
"peerDependencies": {
"starknet": "^5.24.3"
},
"devDependencies": {
"@fractl-ui/types": "workspace:^",
"dependencies": {
"get-starknet-core": "^3.2.0",
"nanostores": "^0.9.5",
"starknet": "^5.24.3",
"nanostores": "^0.9.5"
},
"devDependencies": {
"@fractl-ui/types": "workspace:^",
"vite": "^5.0.12",
"vite-plugin-dts": "^3.7.2"
}
Expand Down
11 changes: 0 additions & 11 deletions packages/starknet/svelte.config.js

This file was deleted.

4 changes: 4 additions & 0 deletions packages/starknet/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
{
"extends": "../tsconfig.json",
"compilerOptions": {
// don't "fix". `get-starknet-core` will not work with module NodeNext
"moduleResolution": "Bundler",
"module": "ESNext",

"outDir": "dist",
"rootDir": "src"
},
Expand Down

0 comments on commit 1dbdcc6

Please sign in to comment.