You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Adds the `sentry.server.config.ts` file as `sentry.server.config.mjs` to the `.output` directory to be able to reference this file in the node --import option.
23
23
*
24
-
* 1. Adding the file as a rollup import, so it is included in the build (automatically transpiles the file).
25
-
* 2. Copying the file to the `.output` directory after the build process is finished.
24
+
* By adding a Rollup plugin to the Nitro Rollup options, the Sentry server config is transpiled and emitted to the server build.
26
25
*/
27
26
exportfunctionaddServerConfigToBuild(
28
27
moduleOptions: SentryNuxtModuleOptions,
@@ -39,41 +38,6 @@ export function addServerConfigToBuild(
0 commit comments