Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

fix bundling esm for sentry

Oleg Isonene3be77f4432d
diff --git a/remix.config.js b/remix.config.js
index aa3040c9de..fef8bb9e10 100644
--- a/remix.config.js
+++ b/remix.config.js
@@ -7,4 +7,6 @@ module.exports = {
publicPath: "/build/",
serverBuildDirectory: "api/_build",
ignoredRouteFiles: [".*"],
+ // @todo https://github.com/getsentry/sentry-javascript/issues/5351
+ serverDependenciesToBundle: [/@sentry\/.*/],
};