diff --git a/package.json b/package.json index 8ac5e755..9c3bcb89 100644 --- a/package.json +++ b/package.json @@ -54,4 +54,4 @@ "ws": "^8.16.0", "xterm": "^5.3.0" } -} +} \ No newline at end of file diff --git a/platform/electron/package.json b/platform/electron/package.json index 8feb6695..16ab0c4f 100644 --- a/platform/electron/package.json +++ b/platform/electron/package.json @@ -29,4 +29,4 @@ "esbuild": "^0.20.2", "tar": "^6.2.1" } -} +} \ No newline at end of file diff --git a/platform/ios/xcode/FullStacked.xcodeproj/project.pbxproj b/platform/ios/xcode/FullStacked.xcodeproj/project.pbxproj index 2905f75b..d2ab8921 100644 --- a/platform/ios/xcode/FullStacked.xcodeproj/project.pbxproj +++ b/platform/ios/xcode/FullStacked.xcodeproj/project.pbxproj @@ -324,7 +324,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 2; + CURRENT_PROJECT_VERSION = 3; DEVELOPMENT_ASSET_PATHS = "\"FullStacked/Preview Content\""; DEVELOPMENT_TEAM = QD7Y9DQ5V4; ENABLE_PREVIEWS = YES; @@ -364,7 +364,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 2; + CURRENT_PROJECT_VERSION = 3; DEVELOPMENT_ASSET_PATHS = "\"FullStacked/Preview Content\""; DEVELOPMENT_TEAM = QD7Y9DQ5V4; ENABLE_PREVIEWS = YES; diff --git a/platform/node/package.json b/platform/node/package.json index cb2f6b29..ee701d08 100644 --- a/platform/node/package.json +++ b/platform/node/package.json @@ -26,4 +26,4 @@ "mime": "^4.0.1", "ws": "^8.16.0" } -} +} \ No newline at end of file diff --git a/platform/node/src/build.ts b/platform/node/src/build.ts index fc97a287..cf779091 100644 --- a/platform/node/src/build.ts +++ b/platform/node/src/build.ts @@ -6,7 +6,7 @@ export async function merge( entryPoint: string, cacheDirectory: string ) { - const mergedContent = `${await fs.promises.readFile(baseFile)}\nimport("${entryPoint}");`; + const mergedContent = `${await fs.promises.readFile(baseFile)}\nimport("${entryPoint.split("\\").join("/")}");`; await fs.promises.mkdir(cacheDirectory, { recursive: true }); const tmpFile = `${cacheDirectory}/tmp-${Date.now()}.js`; await fs.promises.writeFile(tmpFile, mergedContent);