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

CU-86dt9h44p - Fix NeonDappkit on Vite #35

Merged
merged 1 commit into from
Apr 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,18 @@ npm i @cityofzion/neon-dappkit

In the vite.config.ts file you must change the global value like this:
```ts
import {defineConfig} from 'vite'

export default defineConfig({
//your config here
define: {
global: 'globalThis',
define: {
global: 'globalThis',
process: {
version: 'globalThis'
}
Comment on lines +37 to +39
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this indentation correct?

//...
},
});
},
})
```
</details>

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@cityofzion/neon-dappkit-types",
"comment": "Fix vite documentation",
"type": "none"
}
],
"packageName": "@cityofzion/neon-dappkit-types"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@cityofzion/neon-dappkit",
"comment": "Fix vite documentation",
"type": "none"
}
],
"packageName": "@cityofzion/neon-dappkit"
}
13 changes: 9 additions & 4 deletions packages/neon-dappkit-types/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,18 @@ npm i @cityofzion/neon-dappkit-types

In the vite.config.ts file you must change the global value like this:
```ts
import {defineConfig} from 'vite'

export default defineConfig({
//your config here
define: {
global: 'globalThis',
define: {
global: 'globalThis',
process: {
version: 'globalThis'
}
//...
},
});
},
})
```
</details>

Expand Down
13 changes: 9 additions & 4 deletions packages/neon-dappkit/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,18 @@ npm i @cityofzion/neon-dappkit

In the vite.config.ts file you must change the global value like this:
```ts
import {defineConfig} from 'vite'

export default defineConfig({
//your config here
define: {
global: 'globalThis',
define: {
global: 'globalThis',
process: {
version: 'globalThis'
}
//...
},
});
},
})
```
</details>

Expand Down
Loading