effortless-aws 0.4.0 → 0.4.1
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/cli/index.js +2 -1
- package/dist/cli/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -70719,7 +70719,7 @@ var zip12 = (input) => Effect_exports.async((resume2) => {
|
|
|
70719
70719
|
var resolveStaticFiles = (globs, projectDir) => {
|
|
70720
70720
|
const files = [];
|
|
70721
70721
|
for (const pattern2 of globs) {
|
|
70722
|
-
const matches = globSync(pattern2, { cwd: projectDir });
|
|
70722
|
+
const matches = globSync(pattern2, { cwd: projectDir, nodir: true });
|
|
70723
70723
|
for (const match18 of matches) {
|
|
70724
70724
|
const absPath = path5.join(projectDir, match18);
|
|
70725
70725
|
files.push({
|
|
@@ -71549,6 +71549,7 @@ var getPatternsFromConfig = (config2) => {
|
|
|
71549
71549
|
const rawPatterns = Array.isArray(handlersConfig) ? handlersConfig : [handlersConfig];
|
|
71550
71550
|
return rawPatterns.map((p3) => {
|
|
71551
71551
|
if (!p3.includes("*") && !p3.includes("?")) {
|
|
71552
|
+
if (/\.tsx?$/.test(p3)) return p3;
|
|
71552
71553
|
return `${p3.replace(/\/$/, "")}/**/*.ts`;
|
|
71553
71554
|
}
|
|
71554
71555
|
return p3;
|