arc-plugin-esbuild
Advanced tools
Comparing version 2.4.3 to 2.4.4
@@ -118,3 +118,5 @@ 'use strict'; | ||
const src = path.join(uri, entryFile); | ||
const dest = path.join(uri.replace(fullSrcPath, fullOutPath), 'index.js'); | ||
const newUri = uri.replace(fullSrcPath, fullOutPath); | ||
await fsExtra.ensureDir(newUri); | ||
const dest = path.join(newUri, 'index.js'); | ||
// if (!options.bundleNodeModules) { | ||
@@ -133,3 +135,3 @@ // fs.copySync( | ||
}); | ||
cfn.Resources[fun].Properties.CodeUri = dest; | ||
cfn.Resources[fun].Properties.CodeUri = newUri; | ||
} | ||
@@ -136,0 +138,0 @@ logger.start(`Bundling ${settings.length} functions`); |
{ | ||
"name": "arc-plugin-esbuild", | ||
"version": "2.4.3", | ||
"version": "2.4.4", | ||
"description": "Use Typescript and esbuild with arc.codes!", | ||
@@ -5,0 +5,0 @@ "types": "dist/index.d.ts", |
Sorry, the diff of this file is not supported yet
33171
433