-
## 背景
假设现在在 public 目录下有一些静态资源,要在 `Document.tsx` 中引入,比如:
```tsx
function Document() {
return (
);
}
```
在本地环境下是可以正常访问到 localhost:3000/abc.js 静态资源…
-
I am thinking about setting up testing for ui packages, will [Jest](https://jestjs.io/) framework be good enough for lens-up @Olszewskidev?
It has a few limitations with Vite so if it's ok I will con…
-
### Description
I am used to being able to configure my builds in CI via environment variables. E.g., if I have `npm run build` I would like to be able to use that same command, but have it behave di…
-
### Environment
- Operating System: `Darwin`
- Node Version: `v21.5.0`
- Nuxt Version: `3.9.3`
- CLI Version: `3.10.0`
- Nitro Version: `2.8.1`
- Package Manager: `pnpm@8.14.3…
-
### Before opening, please confirm:
- [X] I have [searched for duplicate or closed issues](https://github.com/aws-amplify/amplify-js/issues?q=is%3Aissue+) and [discussions](https://github.com/aws…
-
I am using @axiomhq/winston to integrate winston and axiom. But this fails to build(build script: npx tsc)
Error by tsc:
node_modules/@axiomhq/js/dist/esm/types/fetchClient.d.ts - error TS2314: Ge…
-
### Is there an existing issue for this?
- [X] I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- [X] I have reviewed the documentation https://docs.sentry.io/…
-
hi i cant send a message to my email address
please help me
-
### Describe the bug
When using `define` to replace `process.env` with `import.meta.env`, attempting a destructuring of `import.meta.env` will result in an error at runtime:
```
Uncaught TypeErro…
-
A simple string replace of `import.meta.env` access should be done before the content hash is computed.