@gigadrive/network-config 3.4.5 → 3.4.6
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/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -0
- package/dist/index.mjs.map +1 -1
- package/dist/nextjs-adapter.js +7 -13
- package/dist/nextjs-adapter.js.map +1 -1
- package/dist/nextjs-adapter.mjs +7 -13
- package/dist/nextjs-adapter.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -515,6 +515,12 @@ var createAdapterV2Config = import_effect4.Effect.fn("nextjs.createAdapterV2Conf
|
|
|
515
515
|
});
|
|
516
516
|
const assetPaths = [];
|
|
517
517
|
const assetOverrides = {};
|
|
518
|
+
const publicFiles = yield* getDefaultPathMap(pathService.join(projectFolder, "public"));
|
|
519
|
+
for (const [absolutePath, relativePath] of Object.entries(publicFiles)) {
|
|
520
|
+
const projectRelativePath = toPortablePath(pathService.relative(projectFolder, absolutePath));
|
|
521
|
+
assetPaths.push(projectRelativePath);
|
|
522
|
+
assetOverrides[projectRelativePath] = { path: toPortablePath(relativePath) };
|
|
523
|
+
}
|
|
518
524
|
for (const output of manifest.outputs.staticFiles) {
|
|
519
525
|
const absolutePath = pathService.join(repoRoot, output.filePath);
|
|
520
526
|
const projectRelativePath = toPortablePath(pathService.relative(projectFolder, absolutePath));
|