Closed enri90 closed 1 month ago
hi i'm using Turno Monorepo on build "build": "vite build", How do I make the paths compatible?
dist/assets.json path mono repo not work on production
"../../../node_modules/.pnpm/@vidstack+react@1.12.10_@types+react@18.3.7_react@18.3.1/node_modules/@vidstack/react/prod/chunks/vidstack-9n99lW90.js": { "file": "assets/chunks/chunk-CIfB8Tk3.js", "name": "vidstack-9n99lW90", "src": "../../../node_modules/.pnpm/@vidstack+react@1.12.10_@types+react@18.3.7_react@18.3.1/node_modules/@vidstack/react/prod/chunks/vidstack-9n99lW90.js", "isDynamicEntry": true, "imports": [ "_chunk-BLPm9oz8.js", "_chunk-8WOtoGE1.js", "../../../node_modules/.pnpm/@vidstack+react@1.12.10_@types+react@18.3.7_react@18.3.1/node_modules/@vidstack/react/prod/chunks/vidstack-krOAtKMi.js", "_chunk-CmrIWoG2.js", "_chunk-Bzxy6GxN.js", "_chunk-CEGs7XhP.js" ], "css": [ "assets/static/style-286fb939.B6DZbHFi.css", "assets/static/src_css_style-df3a09ff.B239wdyT.css", "assets/static/components_player_styles_player-39c1d945.oRAeOJh2.css" ] },
packages login path dynamicImports non valid for production
"../../../packages/login/dist/partials/factor.js": { "file": "assets/chunks/chunk-DtvRLNa5.js", "name": "factor", "src": "../../../packages/login/dist/partials/factor.js", "isDynamicEntry": true, "imports": [ "_chunk-Bzxy6GxN.js", "_chunk-CEGs7XhP.js", "_chunk-DOXlWk1U.js", "_chunk-BbbN34HB.js" ], "css": [ "assets/static/style-286fb939.B6DZbHFi.css", "assets/static/src_css_style-df3a09ff.B239wdyT.css" ] }, "virtual:vike:pageConfigValuesAll:client:/pages/two-factor": { "file": "assets/entries/pages_two-factor.D0B201Wn.js", "name": "entries/pages/two-factor", "src": "virtual:vike:pageConfigValuesAll:client:/pages/two-factor", "isEntry": true, "isDynamicEntry": true, "imports": [ "_chunk-Bzxy6GxN.js", "_chunk-DC1KwMXu.js", "_chunk-CEGs7XhP.js", "_chunk-CmrIWoG2.js", "_chunk-Cy1gT26O.js", "_chunk-BbbN34HB.js" ], "dynamicImports": [ "../../../packages/login/dist/partials/factor.js" ], "css": [ "assets/static/style-286fb939.B6DZbHFi.css", "assets/static/src_css_style-df3a09ff.B239wdyT.css" ], "assets": [ "assets/static/favicon.a4Umf1JA.png" ] }
Do you have this only when using vike-node? Can you provide a minimal reproduction?
vike-node
Closing, but let's continue the conversation and let's re-open once we get more information about this.
hi i'm using Turno Monorepo on build "build": "vite build", How do I make the paths compatible?
dist/assets.json path mono repo not work on production
packages login path dynamicImports non valid for production