Alex
Alex
test
What would be the correct way to create helper that embeds file content from file relative to current template (or partial)? ``` {{embed '../relative/to/me'}} ``` ?
You don't like YAML? =)
**What is the current behavior?** If we have ES module (example): ```js const context = require.context( "./icons", true, /^[.\\/a-zA-Z\d-]+\.svg$/, "sync" ) export const icons = context .keys() .map(context) .map(m =>...
# Bug report **What is the current behavior?** When updating the code loaded by web worker nothing happens. **If the current behavior is a bug, please provide the steps to...
# Bug report Trying to use a ESM module as a loader, simple repro: https://github.com/wclr/webpack-esm-loader-issue **What is the current behavior?** ``` Module build failed (from ./loader.js): Error [ERR_REQUIRE_ESM]: require() of...
- callbacks should be optional (some nodejs methods has such API), - removed old typings deps, added deps from @types - improvements for running mocha tests without need to build...
### Describe the bug For example index.html like this: ``` div {} ``` Will not build with the error: ``` [vite:build-html] Cannot use replaced character 26 as slice start anchor....
### Describe the bug ``` new URL("/my/file.js?wow", import.meta.url) ``` doesn't provide "?wow" param in `resolveId` or `transform` handlers. In transform `/my/file.js?type=classic&worker_file` but no custom "wow" param. ### Reproduction https://stackblitz.com/edit/vitejs-vite-kjwrqy?file=vite.config.js,main.js,index.html&terminal=dev In...
When working with ES modules node doesn't support `require`, we don't have the ability to have an output using `util.inspect`. Not sure how to fix it best way, to have...