@awsless/awsless 0.0.4 → 0.0.5
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/bin.cjs +3 -1
- package/dist/bin.js +3 -1
- package/package.json +1 -1
package/dist/bin.cjs
CHANGED
|
@@ -1299,7 +1299,9 @@ var resolveDir = (path) => {
|
|
|
1299
1299
|
};
|
|
1300
1300
|
var importFile = async (path) => {
|
|
1301
1301
|
const load = async (file) => {
|
|
1302
|
-
let { code: code2 } = await (0, import_core3.transformFile)(file
|
|
1302
|
+
let { code: code2 } = await (0, import_core3.transformFile)(file, {
|
|
1303
|
+
isModule: true
|
|
1304
|
+
});
|
|
1303
1305
|
const path2 = (0, import_path7.dirname)(file);
|
|
1304
1306
|
const dir = resolveDir(file);
|
|
1305
1307
|
code2 = code2.replaceAll("__dirname", `"${dir}"`);
|
package/dist/bin.js
CHANGED
|
@@ -1277,7 +1277,9 @@ var resolveDir = (path) => {
|
|
|
1277
1277
|
};
|
|
1278
1278
|
var importFile = async (path) => {
|
|
1279
1279
|
const load = async (file) => {
|
|
1280
|
-
let { code: code2 } = await transformFile(file
|
|
1280
|
+
let { code: code2 } = await transformFile(file, {
|
|
1281
|
+
isModule: true
|
|
1282
|
+
});
|
|
1281
1283
|
const path2 = dirname(file);
|
|
1282
1284
|
const dir = resolveDir(file);
|
|
1283
1285
|
code2 = code2.replaceAll("__dirname", `"${dir}"`);
|