@ossy/app 1.23.6 → 1.24.1
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.
- package/cli/build.task.js +8 -7
- package/package.json +10 -10
package/cli/build.task.js
CHANGED
|
@@ -204,13 +204,14 @@ export async function build (cliArgs = []) {
|
|
|
204
204
|
|
|
205
205
|
const bundle = await rollup({
|
|
206
206
|
input: stubInputMap,
|
|
207
|
-
// Pages execute in BOTH runtimes (Node SSR + browser hydration). We
|
|
208
|
-
// externalize Node built-ins
|
|
209
|
-
//
|
|
210
|
-
//
|
|
211
|
-
//
|
|
212
|
-
// the
|
|
213
|
-
|
|
207
|
+
// Pages execute in BOTH runtimes (Node SSR + browser hydration). We
|
|
208
|
+
// externalize Node built-ins so the runtime resolves them. Native-addon
|
|
209
|
+
// packages (sharp, @img/sharp-*) are also kept external: their module-level
|
|
210
|
+
// code loads platform-specific binaries, and the manifest plugin imports
|
|
211
|
+
// bundled task files at build time — bundling sharp would trigger its binary
|
|
212
|
+
// loader during the build, which fails on linux-arm64 builders that don't
|
|
213
|
+
// have the darwin binaries installed.
|
|
214
|
+
external: (id) => id.startsWith('node:') || NODE_BUILTINS.has(id) || id === 'sharp' || id.startsWith('@img/sharp-'),
|
|
214
215
|
plugins: [
|
|
215
216
|
replace({
|
|
216
217
|
preventAssignment: true,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ossy/app",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.24.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"source": "./src/index.js",
|
|
6
6
|
"main": "./src/index.js",
|
|
@@ -37,15 +37,15 @@
|
|
|
37
37
|
"@babel/eslint-parser": "^7.15.8",
|
|
38
38
|
"@babel/preset-react": "^7.26.3",
|
|
39
39
|
"@babel/register": "^7.25.9",
|
|
40
|
-
"@ossy/connected-components": "^1.
|
|
41
|
-
"@ossy/design-system": "^1.
|
|
40
|
+
"@ossy/connected-components": "^1.24.1",
|
|
41
|
+
"@ossy/design-system": "^1.24.1",
|
|
42
42
|
"@ossy/pages": "^1.23.0",
|
|
43
|
-
"@ossy/platform": "^1.
|
|
44
|
-
"@ossy/router": "^1.
|
|
45
|
-
"@ossy/router-react": "^1.
|
|
46
|
-
"@ossy/sdk": "^1.
|
|
47
|
-
"@ossy/sdk-react": "^1.
|
|
48
|
-
"@ossy/themes": "^1.
|
|
43
|
+
"@ossy/platform": "^1.23.1",
|
|
44
|
+
"@ossy/router": "^1.24.1",
|
|
45
|
+
"@ossy/router-react": "^1.24.1",
|
|
46
|
+
"@ossy/sdk": "^1.24.1",
|
|
47
|
+
"@ossy/sdk-react": "^1.24.1",
|
|
48
|
+
"@ossy/themes": "^1.24.1",
|
|
49
49
|
"@rollup/plugin-alias": "^6.0.0",
|
|
50
50
|
"@rollup/plugin-babel": "^7.0.0",
|
|
51
51
|
"@rollup/plugin-commonjs": "^29.0.0",
|
|
@@ -79,5 +79,5 @@
|
|
|
79
79
|
"README.md",
|
|
80
80
|
"tsconfig.json"
|
|
81
81
|
],
|
|
82
|
-
"gitHead": "
|
|
82
|
+
"gitHead": "c4dfd4a2cc4a6977ce00dc223c91dbaecc3348ba"
|
|
83
83
|
}
|