Hyoban's Avatar

Hyoban

@hyoban.cc.bsky.social

Don’t do what you should do, do you want.

53 Followers  |  136 Following  |  3 Posts  |  Joined: 31.10.2024  |  1.5235

Latest posts by hyoban.cc on Bluesky

import { defineBuildConfig } from "unbuild";

export default defineBuildConfig({
	entries: [
		{
			builder: "mkdist",
			declaration: true,
			format: "cjs",
			input: "./src",
			outDir: "./dist",
			pattern: ["**/*.ts", "!**/*.test.ts"],
		},
	],
});

import { defineBuildConfig } from "unbuild"; export default defineBuildConfig({ entries: [ { builder: "mkdist", declaration: true, format: "cjs", input: "./src", outDir: "./dist", pattern: ["**/*.ts", "!**/*.test.ts"], }, ], });

It's very easy to use. Just write the configuration like this:

06.02.2025 13:05 — 👍 0    🔁 0    💬 0    📌 0
Preview
GitHub - unjs/unbuild: 📦 A unified JavaScript build system 📦 A unified JavaScript build system. Contribute to unjs/unbuild development by creating an account on GitHub.

github.com/unjs/unbuild has a bundleless option. It looks closer to what you want.

05.02.2025 23:37 — 👍 2    🔁 0    💬 1    📌 0
Preview
GitHub - huozhi/bunchee: Zero config bundler for npm packages Zero config bundler for npm packages. Contribute to huozhi/bunchee development by creating an account on GitHub.

github.com/huozhi/bunchee by @huozhi.im

05.02.2025 15:59 — 👍 3    🔁 0    💬 1    📌 0

@hyoban.cc is following 20 prominent accounts