@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: {
|
package/dist/lib/dev/index.js
CHANGED
package/package.json
CHANGED
|
@@ -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: {
|
package/src/lib/dev/index.js
CHANGED