@kohi9noor/hotloop 1.3.10 → 1.3.11

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.
package/dist/cli.js CHANGED
@@ -265,7 +265,7 @@ async function runBuild(cwd, options) {
265
265
  const config = await loadConfig2(cwd);
266
266
  validateConfig2(config);
267
267
  const outDir = config.outDir || "dist";
268
- const buildOutDir = config.buildOutDir || outDir;
268
+ const buildOutDir = config.buildOutDir || "build";
269
269
  const injectHmr = options?.injectHmr ?? false;
270
270
  const replaceOutDir = (target) => {
271
271
  const normalized = target.replace(/\\/g, "/");
package/dist/index.js CHANGED
@@ -264,7 +264,7 @@ async function runBuild(cwd, options) {
264
264
  const config = await loadConfig2(cwd);
265
265
  validateConfig2(config);
266
266
  const outDir = config.outDir || "dist";
267
- const buildOutDir = config.buildOutDir || outDir;
267
+ const buildOutDir = config.buildOutDir || "build";
268
268
  const injectHmr = options?.injectHmr ?? false;
269
269
  const replaceOutDir = (target) => {
270
270
  const normalized = target.replace(/\\/g, "/");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kohi9noor/hotloop",
3
- "version": "1.3.10",
3
+ "version": "1.3.11",
4
4
  "description": "Minimal, framework-free development tool for small-scale browser extensions. TypeScript, HMR, and Node module support—nothing else.",
5
5
  "author": "kohi9noor",
6
6
  "license": "MIT",