Skip to content

Commit 921eb07

Browse files
committed
fix: 🐛 include terser bundle into netlify functions
Resolves issues where AMP would work locally, but not on a deployed site
1 parent aa861c7 commit 921eb07

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/helpers/config.ts

-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ export const configureHandlerFunctions = ({ netlifyConfig, publish, ignore = []
7676
`!${nextRoot}/dist/next-server/server/lib/squoosh/**/*.wasm`,
7777
`!${nextRoot}/dist/compiled/webpack/bundle4.js`,
7878
`!${nextRoot}/dist/compiled/webpack/bundle5.js`,
79-
`!${nextRoot}/dist/compiled/terser/bundle.min.js`,
8079
)
8180
}
8281

0 commit comments

Comments
 (0)