web
web copied to clipboard
Guides, tools and libraries for modern web development.
I'm using the `esbuildPlugin` to transpile TS into JS, and am using the `tsconfig` option, e.g.: ``` esbuildPlugin({ ts: true, tsconfig: fileURLToPath(new URL('../../tsconfig.src.json', import.meta.url)), }), ``` I've confirmed that this...
I've been wanting to experiment with `node:test` as a replacement for `mocha` and thought I'd give it a try in `rollup-plugin-copy`.
## What I did 1. Add a nullish condition on `e.error` before logging. ## Why? Because in some situations, the `error` in the `event` can be `null`. This pollutes the...
For both `@web/rollup-plugin-copy` and `@web/rollup-plugin-import-meta-assets` the `index.d.ts` file is not present despite being referenced in the package `exports["."].types` field. - [@web/rollup-plugin-copy package contents](https://www.npmjs.com/package/@web/rollup-plugin-copy?activeTab=code) - [@web/rollup-plugin-import-meta-assets package contents](https://www.npmjs.com/package/@web/rollup-plugin-import-meta-assets?activeTab=code) This may be...
I'm trying to set this up in the simplest way, but I can't get past this error. Now, as this is inside an Nx repo, I suppose there could be...
## What I did ### Unifying Visual and Written Representation of 'Skipped' Information for better comprehension - cognitive accessibility. Presently, when a test is skipped, the visual representation uses a...
First of all, apologies if this has been discussed somewhere. I was not able to find an issue or discussion around this subject. I would like to know if it's...
```ts copy({ rootDir: "build/src", patterns: "commands", }), ``` Gives the error: >Argument of type '{ rootDir: string; patterns: string; }' is not assignable to parameter of type '{ patterns: string...
As I understand from the docs, I should use '@web/rollup-plugin-copy' instead of 'rollup-plugin-copy'. However, the 'original' does have a `dest` option to change the destination folder. Do you plan to...
Took a while to debug this one, but I was writing some tests which I discovered to be flaky for uncelar reasons. After a lot of digging, I was able...