-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
232 additions
and
36 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
61 changes: 61 additions & 0 deletions
61
packages/walletkit/vite.config.ts.timestamp-1736263509573-ec0e407905397.mjs
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
// vite.config.ts | ||
import { defineConfig } from "file:///Users/liwen/Documents/node-real/walletkit/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/vite/dist/node/index.js"; | ||
import react from "file:///Users/liwen/Documents/node-real/walletkit/node_modules/.pnpm/@[email protected][email protected]_@[email protected][email protected][email protected]_/node_modules/@vitejs/plugin-react/dist/index.mjs"; | ||
import dts from "file:///Users/liwen/Documents/node-real/walletkit/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]_@types+nod_hqvoadjptfr5fbnz34ggrdvpia/node_modules/vite-plugin-dts/dist/index.mjs"; | ||
import peerDepsExternal from "file:///Users/liwen/Documents/node-real/walletkit/node_modules/.pnpm/[email protected][email protected]/node_modules/rollup-plugin-peer-deps-external/dist/rollup-plugin-peer-deps-external.js"; | ||
import { vanillaExtractPlugin } from "file:///Users/liwen/Documents/node-real/walletkit/node_modules/.pnpm/@[email protected]_@[email protected][email protected]_lightningcss@_cxnzwayg2birdbvurx6hdeqcfa/node_modules/@vanilla-extract/vite-plugin/dist/vanilla-extract-vite-plugin.cjs.js"; | ||
import path from "path"; | ||
import mkcert from "file:///Users/liwen/Documents/node-real/walletkit/node_modules/.pnpm/[email protected][email protected]_@[email protected][email protected][email protected]_/node_modules/vite-plugin-mkcert/dist/mkcert.mjs"; | ||
var __vite_injected_original_dirname = "/Users/liwen/Documents/node-real/walletkit/packages/walletkit"; | ||
var vite_config_default = defineConfig({ | ||
server: { | ||
https: false | ||
}, | ||
plugins: [ | ||
react(), | ||
vanillaExtractPlugin({ | ||
identifiers: ({ hash }) => `wk_${hash}` | ||
}), | ||
// cssInjectedByJsPlugin({ | ||
// injectCode: (cssCode: string) => { | ||
// return `try{if(typeof document != 'undefined'){var elementStyle = document.createElement('style');elementStyle.appendChild(document.createTextNode(${cssCode}));document.head.insertBefore(elementStyle,document.head.firstChild);}}catch(e){console.error('vite-plugin-css-injected-by-js', e);}`; | ||
// }, | ||
// }), | ||
dts({ | ||
include: "src" | ||
}), | ||
mkcert() | ||
], | ||
resolve: { | ||
alias: { | ||
"@": path.resolve(__vite_injected_original_dirname, "src") | ||
} | ||
}, | ||
build: { | ||
target: "esnext", | ||
minify: false, | ||
lib: { | ||
formats: ["es"], | ||
entry: { | ||
"evm/index": "src/evm/index.ts", | ||
"solana/index": "src/solana/index.ts", | ||
"tron/index": "src/tron/index.ts", | ||
"core/index": "src/core/index.ts" | ||
} | ||
}, | ||
rollupOptions: { | ||
plugins: [ | ||
peerDepsExternal({ | ||
includeDependencies: true | ||
}) | ||
], | ||
output: { | ||
chunkFileNames: "chunks/chunk.js" | ||
} | ||
} | ||
} | ||
}); | ||
export { | ||
vite_config_default as default | ||
}; | ||
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcudHMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCIvVXNlcnMvbGl3ZW4vRG9jdW1lbnRzL25vZGUtcmVhbC93YWxsZXRraXQvcGFja2FnZXMvd2FsbGV0a2l0XCI7Y29uc3QgX192aXRlX2luamVjdGVkX29yaWdpbmFsX2ZpbGVuYW1lID0gXCIvVXNlcnMvbGl3ZW4vRG9jdW1lbnRzL25vZGUtcmVhbC93YWxsZXRraXQvcGFja2FnZXMvd2FsbGV0a2l0L3ZpdGUuY29uZmlnLnRzXCI7Y29uc3QgX192aXRlX2luamVjdGVkX29yaWdpbmFsX2ltcG9ydF9tZXRhX3VybCA9IFwiZmlsZTovLy9Vc2Vycy9saXdlbi9Eb2N1bWVudHMvbm9kZS1yZWFsL3dhbGxldGtpdC9wYWNrYWdlcy93YWxsZXRraXQvdml0ZS5jb25maWcudHNcIjtpbXBvcnQgeyBkZWZpbmVDb25maWcgfSBmcm9tICd2aXRlJztcbmltcG9ydCByZWFjdCBmcm9tICdAdml0ZWpzL3BsdWdpbi1yZWFjdCc7XG5pbXBvcnQgZHRzIGZyb20gJ3ZpdGUtcGx1Z2luLWR0cyc7XG5pbXBvcnQgc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