@nitronjs/framework 0.2.15 → 0.2.16

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.
@@ -263,6 +263,7 @@ class Builder {
263
263
  target: "es2020",
264
264
  sourcemap: this.#isDev,
265
265
  minify: !this.#isDev,
266
+ keepNames: true,
266
267
  jsx: "automatic"
267
268
  });
268
269
  this.#cache.vendorBuilt = true;
@@ -472,6 +473,7 @@ class Builder {
472
473
  target: options.target ?? "node20",
473
474
  sourcemap: this.#isDev,
474
475
  minify: !this.#isDev,
476
+ keepNames: true,
475
477
  external: options.external ?? ["react", "react-dom", "react-dom/server"],
476
478
  plugins,
477
479
  write: true,
@@ -8,7 +8,6 @@ export default async function Start() {
8
8
 
9
9
  if (!fs.existsSync(manifestPath)) {
10
10
  Output.warn("Build artifacts not found. Running production build...");
11
- Output.newline();
12
11
 
13
12
  const { default: Build } = await import("./BuildCommand.js");
14
13
  const success = await Build();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nitronjs/framework",
3
- "version": "0.2.15",
3
+ "version": "0.2.16",
4
4
  "description": "NitronJS is a modern and extensible Node.js MVC framework built on Fastify. It focuses on clean architecture, modular structure, and developer productivity, offering built-in routing, middleware, configuration management, CLI tooling, and native React integration for scalable full-stack applications.",
5
5
  "bin": {
6
6
  "njs": "./cli/njs.js"