Skip to content

Commit

Permalink
fix: create the directory before copying the config (#566)
Browse files Browse the repository at this point in the history
  • Loading branch information
vicb authored Oct 17, 2024
1 parent 5429a1d commit bd2e058
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/open-next/src/build/createAssets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ export function createCacheAssets(options: buildHelper.BuildOptions) {
const providerPath = path.join(outputDir, "dynamodb-provider");

//Copy open-next.config.mjs into the bundle
fs.mkdirSync(providerPath, { recursive: true });
buildHelper.copyOpenNextConfig(options.buildDir, providerPath);

// TODO: check if metafiles doesn't contain duplicates
Expand Down

0 comments on commit bd2e058

Please sign in to comment.