@joystick.js/cli-canary 0.0.0-canary.163 → 0.0.0-canary.165

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.
@@ -49,6 +49,7 @@ const handleBuildForNode = (nodePaths2 = [], options = {}) => {
49
49
  entryNames: "[dir]/[name]",
50
50
  // TODO: Make sure we don't need outbase here so the paths map correctly.
51
51
  outdir: options?.outputPath || "./.joystick/build",
52
+ outbase: "./",
52
53
  define: {
53
54
  "process.env.NODE_ENV": `'${options?.environment}'`
54
55
  },
@@ -71,6 +72,7 @@ const handleBuildForBrowser = (browserPaths2 = [], options = {}) => {
71
72
  bundle: true,
72
73
  entryPoints: browserPaths2?.map((file) => file.path),
73
74
  entryNames: "[dir]/[name]",
75
+ outbase: "./",
74
76
  // TODO: Make sure we don't need outbase here so the paths map correctly.
75
77
  outdir: options?.outputPath || "./.joystick/build",
76
78
  define: {
@@ -283,6 +283,7 @@ const handleStartAppServer = async (options = {}) => {
283
283
  handleServerProcessMessages();
284
284
  }
285
285
  } catch (exception) {
286
+ console.warn(exception);
286
287
  throw new Error(`[actionName.handleStartAppServer] ${exception.message}`);
287
288
  }
288
289
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@joystick.js/cli-canary",
3
- "version": "0.0.0-canary.163",
3
+ "version": "0.0.0-canary.165",
4
4
  "type": "module",
5
5
  "description": "CLI for the Joystick JavaScript framework.",
6
6
  "main": "development.js",
@@ -56,6 +56,7 @@ const handleBuildForNode = (nodePaths = [], options = {}) => {
56
56
  entryNames: '[dir]/[name]',
57
57
  // TODO: Make sure we don't need outbase here so the paths map correctly.
58
58
  outdir: options?.outputPath || "./.joystick/build",
59
+ outbase: './',
59
60
  define: {
60
61
  "process.env.NODE_ENV": `'${options?.environment}'`,
61
62
  },
@@ -79,6 +80,7 @@ const handleBuildForBrowser = (browserPaths = [], options = {}) => {
79
80
  bundle: true,
80
81
  entryPoints: browserPaths?.map((file) => file.path),
81
82
  entryNames: '[dir]/[name]',
83
+ outbase: './',
82
84
  // TODO: Make sure we don't need outbase here so the paths map correctly.
83
85
  outdir: options?.outputPath || "./.joystick/build",
84
86
  define: {
@@ -346,6 +346,7 @@ const handleStartAppServer = async (options = {}) => {
346
346
  handleServerProcessMessages();
347
347
  }
348
348
  } catch (exception) {
349
+ console.warn(exception);
349
350
  throw new Error(`[actionName.handleStartAppServer] ${exception.message}`);
350
351
  }
351
352
  };