diff --git a/packages/browser/rollup.config.js b/packages/browser/rollup.config.js index ce0e07a67a0d..17a4c575118e 100644 --- a/packages/browser/rollup.config.js +++ b/packages/browser/rollup.config.js @@ -8,7 +8,7 @@ const builds = []; isAddOn: false, jsVersion, licenseTitle: '@sentry/browser', - outputFileBase: `build/bundle${jsVersion === 'es6' ? '.es6' : ''}`, + outputFileBase: `bundle${jsVersion === 'es6' ? '.es6' : ''}`, }); builds.push(...makeConfigVariants(baseBundleConfig)); diff --git a/packages/integrations/rollup.config.js b/packages/integrations/rollup.config.js index 0ffe58b68d32..2373d2c61e08 100644 --- a/packages/integrations/rollup.config.js +++ b/packages/integrations/rollup.config.js @@ -14,7 +14,9 @@ integrationSourceFiles.forEach(file => { isAddOn: true, jsVersion: 'es5', licenseTitle: '@sentry/integrations', - outputFileBase: `build/${file.replace('.ts', '')}`, + // TODO this doesn't currently need to be a template string, but soon will need to be, so leaving it in that form + // for now + outputFileBase: `${file.replace('.ts', '')}`, }); // TODO We only need `commonjs` for localforage (used in the offline plugin). Once that's fixed, this can come out. diff --git a/packages/tracing/rollup.config.js b/packages/tracing/rollup.config.js index c04d025c2f61..e53a34004303 100644 --- a/packages/tracing/rollup.config.js +++ b/packages/tracing/rollup.config.js @@ -8,7 +8,7 @@ const builds = []; isAddOn: false, jsVersion, licenseTitle: '@sentry/tracing & @sentry/browser', - outputFileBase: `build/bundle.tracing${jsVersion === 'es6' ? '.es6' : ''}`, + outputFileBase: `bundle.tracing${jsVersion === 'es6' ? '.es6' : ''}`, }); builds.push(...makeConfigVariants(baseBundleConfig)); diff --git a/packages/vue/rollup.config.js b/packages/vue/rollup.config.js index 22d66faf05ed..2185b2b716c5 100644 --- a/packages/vue/rollup.config.js +++ b/packages/vue/rollup.config.js @@ -5,7 +5,7 @@ const baseBundleConfig = makeBaseBundleConfig({ isAddOn: false, jsVersion: 'es5', licenseTitle: '@sentry/vue', - outputFileBase: 'build/bundle.vue', + outputFileBase: 'bundle.vue', }); export default makeConfigVariants(baseBundleConfig); diff --git a/packages/wasm/rollup.config.js b/packages/wasm/rollup.config.js index 28ef64086913..0b4f26e0af17 100644 --- a/packages/wasm/rollup.config.js +++ b/packages/wasm/rollup.config.js @@ -5,7 +5,7 @@ const baseBundleConfig = makeBaseBundleConfig({ isAddOn: true, jsVersion: 'es5', licenseTitle: '@sentry/wasm', - outputFileBase: 'build/wasm', + outputFileBase: 'wasm', }); export default makeConfigVariants(baseBundleConfig); diff --git a/rollup.config.js b/rollup.config.js index 3c9f5d9cc2ee..1b974fa50560 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -177,7 +177,7 @@ export function makeBaseBundleConfig(options) { input, output: { // a file extension will be added to this base value when we specify either a minified or non-minified build - file: outputFileBase, + file: `build/${outputFileBase}`, sourcemap: true, strict: false, esModule: false,