jeasx 0.3.5 → 0.3.6

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/cli.js +3 -2
  2. package/package.json +1 -1
package/cli.js CHANGED
@@ -34,15 +34,16 @@ async function start() {
34
34
  }
35
35
 
36
36
  async function build() {
37
- process.argv = process.argv.splice(0, 2);
37
+ const argv = [...process.argv];
38
+ process.argv = [];
38
39
  await clean();
39
40
  await import("./esbuild.config.js");
41
+ process.argv = argv;
40
42
  }
41
43
 
42
44
  async function dev() {
43
45
  process.env.NODE_ENV = "development";
44
46
  // Run build to prepare browser assets for fastify-static
45
- process.argv = ["jeasx", "build"];
46
47
  await build();
47
48
  // Start the dev environment
48
49
  process.argv[2] = "start";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jeasx",
3
- "version": "0.3.5",
3
+ "version": "0.3.6",
4
4
  "description": "jeasx - the ease of JSX with the power of SSR",
5
5
  "keywords": [
6
6
  "jsx",