@joystick.js/node-canary 0.0.0-canary.460 → 0.0.0-canary.461

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.
@@ -1 +1 @@
1
- import t from"fs";import r from"./replace_backslashes_with_forward_slashes.js";import o from"./replace_file_protocol.js";const s=()=>["development","test"].includes(process.env.NODE_ENV)||t.existsSync(".joystick/build")?".joystick/build/":"",i=()=>{const e=s();return o(r(`${process.cwd().replace(e,"")}/${e}`))};var l=i;export{l as default};
1
+ import t from"fs";import"./replace_backslashes_with_forward_slashes.js";import"./replace_file_protocol.js";const r=()=>["development","test"].includes(process.env.NODE_ENV)||t.existsSync(".joystick/build")?".joystick/build/":"",o=()=>{const e=r();return`${process.cwd().replace(e,"")}/${e}`};var l=o;export{l as default};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@joystick.js/node-canary",
3
3
  "type": "module",
4
- "version": "0.0.0-canary.460",
4
+ "version": "0.0.0-canary.461",
5
5
  "description": "The Node.js framework for Joystick.",
6
6
  "main": "./dist/index.js",
7
7
  "scripts": {
@@ -18,11 +18,7 @@ const get_build_path_for_environment = () => {
18
18
  const get_joystick_build_path = () => {
19
19
  const build_path_for_environment = get_build_path_for_environment();
20
20
 
21
- return replace_file_protocol(
22
- replace_backslashes_with_forward_slashes(
23
- `${process.cwd().replace(build_path_for_environment, '')}/${build_path_for_environment}`
24
- )
25
- );
21
+ return `${process.cwd().replace(build_path_for_environment, '')}/${build_path_for_environment}`;
26
22
  };
27
23
 
28
24
  export default get_joystick_build_path;