unbuild
unbuild copied to clipboard
📦 An unified javascript build system
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [defu](https://togithub.com/unjs/defu) | [`^6.0.0` -> `^6.1.0`](https://renovatebot.com/diffs/npm/defu/6.0.0/6.1.0) | [](https://docs.renovatebot.com/merge-confidence/)...
This issue lists Renovate updates and detected dependencies. Read the [Dependency Dashboard](https://docs.renovatebot.com/key-concepts/dashboard/) docs to learn more.[View this repository on the Mend.io Web Portal](https://developer.mend.io/github/unjs/unbuild). ## Open These updates have all been...
### Problem Currently only reference to configuration options available is link to the [types file](https://github.com/unjs/unbuild/blob/main/src/types.ts). This is not really helpful for someone who's relatively new to bundling libraries in typescript...
unbuild uses ```ts await writeFile(output + '.mjs', `${shebang}import jiti from 'jiti';\nexport default jiti(null, { interopDefault: true })('${entry.input}');`) ``` but this results in ```ts import jiti from 'jiti'; export default jiti(null,...
see https://github.com/nuxt/nuxt.js/issues/14416. **reproduction**: https://stackblitz.com/edit/node-weknes From: https://unpkg.com/browse/[email protected]/lib/esm/impl/edit.js ```js var __assign = (this && this.__assign) || function () { __assign = Object.assign || function(t) { for (var s, i = 1, n...
As per antfu's [blog](https://antfu.me/posts/publish-esm-and-cjs#bundleless-build) we can bundle `Vue` components. I have followed it but getting error. here are the files I have ```JSONc // package.json { "name": "components", "private": true,...
Hi, I'm having a packaging problem,.tsx is not compiled, do I need to do additional configuration or is there a reason for this
By using [unjs/c12](https://github.com/unjs/c12) we support many goodies such as preset/extends support (#195) and multiple file formats Depends on https://github.com/unjs/c12/issues/92
> Maybe we can support min flag for unbuild and unify tooling? see https://github.com/nuxt-community/color-mode-module/pull/118#discussion_r796728630
The configuration is as follows. ```ts import { defineBuildConfig } from "unbuild"; export default defineBuildConfig({ declaration: true, entries: ["src/"], }); ``` Generate the wrong import in the file. ```mjs //...