Skip to content

Commit 1664d83

Browse files
authored
chore: bump esbuild to latest version (#869)
* bump esbuild * fix regex * changeset
1 parent d6889d8 commit 1664d83

File tree

5 files changed

+229
-190
lines changed

5 files changed

+229
-190
lines changed

.changeset/polite-teachers-doubt.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@opennextjs/aws": patch
3+
---
4+
5+
chore: bump esbuild to latest version (0.25.4)

packages/open-next/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
},
1919
"exports": {
2020
"./*": {
21-
"default": "./dist/*",
22-
"types": "./dist/*.d.ts"
21+
"types": "./dist/*.d.ts",
22+
"default": "./dist/*"
2323
}
2424
},
2525
"typesVersions": {
@@ -48,7 +48,7 @@
4848
"@tsconfig/node18": "^1.0.1",
4949
"aws4fetch": "^1.0.18",
5050
"chalk": "^5.3.0",
51-
"esbuild": "0.19.2",
51+
"esbuild": "catalog:",
5252
"express": "5.0.1",
5353
"path-to-regexp": "^6.3.0",
5454
"urlpattern-polyfill": "^10.0.0",

packages/open-next/src/plugins/edge.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export function openNextEdgePlugins({
5959
setup(build) {
6060
logger.debug(chalk.blue("OpenNext Edge plugin"));
6161

62-
build.onResolve({ filter: /\.(mjs|wasm)$/g }, () => {
62+
build.onResolve({ filter: /\.(mjs|wasm)$/ }, () => {
6363
return {
6464
external: true,
6565
};

0 commit comments

Comments
 (0)