Skip to content

Commit

Permalink
Try exposing to rollup
Browse files Browse the repository at this point in the history
  • Loading branch information
andreiborza committed Sep 3, 2024
1 parent 25376be commit 5067333
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion packages/solidstart/src/index.server.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
export * from './server';
export * from './vite';
1 change: 0 additions & 1 deletion packages/solidstart/src/index.types.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// We export everything from both the client part of the SDK and from the server part.
// Some of the exports collide, which is not allowed, unless we redefine the colliding
// exports in this file - which we do below.
export * from './vite';
export * from './client';
export * from './server';

Expand Down
4 changes: 2 additions & 2 deletions packages/solidstart/src/vite/sentrySolidStartVite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ import type { SentrySolidStartPluginOptions } from './types';
export const sentrySolidStartVite = (options: SentrySolidStartPluginOptions): Plugin[] => {
const sentryPlugins: Plugin[] = [];

if (process.env.NODE_ENV !== 'development') {
// if (process.env.NODE_ENV !== 'development') {
if (options.sourceMapsUploadOptions?.enabled ?? true) {
sentryPlugins.push(...makeSourceMapsVitePlugin(options));
}
}
// }

return sentryPlugins;
};

0 comments on commit 5067333

Please sign in to comment.