-
-
Save mikeshultz/cc35224bc440affa8fad585b27f8fe9f to your computer and use it in GitHub Desktop.
Using ApePay sdk in chaosnet FE
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[mike@vemik cHaOSneT]$ cd ../ApePay/sdk/js | |
/home/mike/dev/ApePay/sdk/js | |
[mike@vemik js]$ pwd | |
/home/mike/dev/ApePay/sdk/js | |
[mike@vemik js]$ npm link | |
up to date, audited 3 packages in 467ms | |
found 0 vulnerabilities | |
[mike@vemik js]$ cd - | |
/home/mike/dev/cHaOSneT | |
[mike@vemik cHaOSneT]$ npm link @apeworx/apepay | |
up to date, audited 820 packages in 1s | |
189 packages are looking for funding | |
run `npm fund` for details | |
2 vulnerabilities (1 high, 1 critical) | |
To address all issues, run: | |
npm audit fix | |
Run `npm audit` for details. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import path from "path"; | |
import { defineConfig } from "vite"; | |
import react from "@vitejs/plugin-react"; | |
import { nodePolyfills } from "vite-plugin-node-polyfills"; | |
// https://vitejs.dev/config/ | |
export default defineConfig({ | |
[...snip...] | |
resolve: { | |
alias: { | |
"@apeworx/apepay": path.resolve( | |
__dirname, | |
"node_modules/@apeworx/apepay/index.ts", | |
), | |
}, | |
}, | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment