quickbundle 0.0.0-next-b36be21 → 0.0.0-next-45ab553

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +9 -7
  2. package/package.json +8 -8
package/dist/index.js CHANGED
@@ -152,8 +152,8 @@ const clearLog = (...input)=>{
152
152
  helpers.message(...input);
153
153
  };
154
154
 
155
- const require = createRequire(import.meta.url);
156
- const PKG = require(resolveFromExternalDirectory("package.json"));
155
+ const require$1 = createRequire(import.meta.url);
156
+ const PKG = require$1(resolveFromExternalDirectory("package.json"));
157
157
  const DEFAULT_OPTIONS = {
158
158
  minification: false,
159
159
  sourceMaps: false,
@@ -231,8 +231,9 @@ const getBuildableExports = ({ standalone })=>{
231
231
  ...buildableExportFields
232
232
  ].includes(field)) {
233
233
  if (!singleExport) {
234
- singleExport = {};
235
- singleExport[field] = value;
234
+ singleExport = {
235
+ [field]: value
236
+ };
236
237
  return [
237
238
  ".",
238
239
  singleExport
@@ -278,13 +279,14 @@ const getPlugins = (customPlugins, options)=>{
278
279
  };
279
280
  const createMainConfig = (entryPoints, options)=>{
280
281
  const { minification, sourceMaps } = options;
282
+ const cjsInput = entryPoints.require;
281
283
  const esmInput = entryPoints.import ?? entryPoints.default;
282
284
  if (entryPoints.import && entryPoints.default && entryPoints.import !== entryPoints.default) {
283
285
  throw new Error("Both `import` and `default` export fields have been defined but with different values. To preserve proper `default` field resolution on the consumer side (i.e. to target ESM format), make sure to provide the same file path for both fields.");
284
286
  }
285
287
  const output = [
286
- entryPoints.require && {
287
- file: entryPoints.require,
288
+ cjsInput && {
289
+ file: cjsInput,
288
290
  format: "cjs",
289
291
  inlineDynamicImports: Boolean(options.standalone),
290
292
  sourcemap: sourceMaps
@@ -588,7 +590,7 @@ const formatSize = (bytes)=>{
588
590
  };
589
591
 
590
592
  var name = "quickbundle";
591
- var version = "0.0.0-next-b36be21";
593
+ var version = "0.0.0-next-45ab553";
592
594
 
593
595
  const createProgram = (...commandBuilders)=>{
594
596
  const program = termost({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "quickbundle",
3
- "version": "0.0.0-next-b36be21",
3
+ "version": "0.0.0-next-45ab553",
4
4
  "description": "The zero-configuration transpiler and bundler for the web",
5
5
  "keywords": [
6
6
  "library",
@@ -40,22 +40,22 @@
40
40
  "dist"
41
41
  ],
42
42
  "dependencies": {
43
- "@rollup/plugin-commonjs": "^28.0.6",
43
+ "@rollup/plugin-commonjs": "^29.0.0",
44
44
  "@rollup/plugin-json": "^6.1.0",
45
- "@rollup/plugin-node-resolve": "^16.0.1",
45
+ "@rollup/plugin-node-resolve": "^16.0.3",
46
46
  "@rollup/plugin-url": "^8.0.2",
47
- "@swc/core": "^1.13.5",
47
+ "@swc/core": "^1.15.2",
48
48
  "decompress": "^4.2.1",
49
49
  "gzip-size": "^7.0.0",
50
- "rollup": "^4.48.0",
50
+ "rollup": "^4.53.3",
51
51
  "rollup-plugin-dts": "^6.2.3",
52
- "rollup-plugin-node-externals": "^8.1.0",
52
+ "rollup-plugin-node-externals": "^8.1.2",
53
53
  "rollup-plugin-swc3": "^0.12.1",
54
- "termost": "^1.8.0"
54
+ "termost": "^1.9.0"
55
55
  },
56
56
  "devDependencies": {
57
57
  "@types/decompress": "4.2.7",
58
- "@types/node": "22.17.2"
58
+ "@types/node": "24.10.1"
59
59
  },
60
60
  "peerDependencies": {
61
61
  "typescript": "^4.7.0 || ^5.0.0"