Pooya Parsa

Results 496 issues of Pooya Parsa

Related to https://github.com/nuxt/nuxt/issues/20882 (and https://github.com/unjs/nitro/issues/1281) In a cluster environment, we might want to run a plugin or logic only in first instance. For this, we need to check if the...

enhancement
preset:node-cluster

This requirement was discovered from https://github.com/Baroshem/nuxt-security/issues/335 > https://github.com/Baroshem/nuxt-security/blob/main/src/runtime/nitro/plugins/05-cspSsgPresets.ts This module particularly requires to presist CSP headers (using route rules was initial workaround but hacky) so that when site is pre-rendered,...

enhancement
discussion
prerender

We had a couple of issues in the past originating from wrongly extracted HTML links. I think we should accept the small cost of a HTML parser to use instead...

prerender

Jiti was created almost [3 years ago](https://github.com/unjs/jiti/commit/ae9eb72c52c07dbd6b91b22e14b1f3e8669be483) with the aim of bringing stable, compact and fast ESM (and later Typescript) support to all JavaScript runtimes. Skipping years ahead, most of...

### 🔗 Linked issue #171 ### ❓ Type of change - [ ] 📖 Documentation (updates to the documentation, readme, or JSdoc annotations) - [ ] 🐞 Bug fix (a...

`jiti.js` (core) size had been grown over time by adding logic. My aim is to before adding more additions, it split it into smaller parts with shared context.

While this is not a direct purpose of jiti, when it is used in testing environments ([unbuild](https://github.com/unjs/unbuild) dist in stub mode) we might need to detect vite environment and bypass...

We shall polyfill it to allow upgrading from `require.resolve` ```js (function (exports, require, module, __filename, __dirname) { "use strict";console.log(import.meta.resolve('./a.ts')); ^^^^ SyntaxError: Cannot use 'import.meta' outside a module ```

Ref: https://github.com/nuxt/module-builder/issues/63 A builder similar to mkdist but copy them as is without any transforms. (We might support small things like ignore patterns)

enhancement
discussion

Related: #265, https://github.com/unjs/unbuild/issues/20 Support `unbuild --watch` to run rollup in watch mode. Roadmap: - [x] Rollup watcher for `mjs` and `cjs` entries (via #364 thanks to @joemckenney) - [ ]...

enhancement
discussion