Skip to content

Commit 0f54e89

Browse files
committed
add baseUrl setting to rollup config
1 parent c81c77b commit 0f54e89

File tree

5 files changed

+7
-0
lines changed

5 files changed

+7
-0
lines changed

packages/browser/rollup.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ const plugins = [
4343
declaration: false,
4444
declarationMap: false,
4545
paths,
46+
baseUrl: '.',
4647
},
4748
},
4849
include: ['*.ts+(|x)', '**/*.ts+(|x)', '../**/*.ts+(|x)'],
@@ -108,6 +109,7 @@ export default [
108109
declaration: false,
109110
declarationMap: false,
110111
paths,
112+
baseUrl: '.',
111113
target: 'es6',
112114
},
113115
},
@@ -130,6 +132,7 @@ export default [
130132
declaration: false,
131133
declarationMap: false,
132134
paths,
135+
baseUrl: '.',
133136
target: 'es6',
134137
},
135138
},

packages/integrations/rollup.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ const plugins = [
3030
'@sentry/types': ['../types/src'],
3131
'@sentry/minimal': ['../minimal/src'],
3232
},
33+
baseUrl: '.',
3334
},
3435
},
3536
include: ['*.ts+(|x)', '**/*.ts+(|x)', '../**/*.ts+(|x)'],

packages/tracing/rollup.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ const plugins = [
3838
declaration: false,
3939
declarationMap: false,
4040
paths,
41+
baseUrl: '.',
4142
},
4243
},
4344
include: ['*.ts+(|x)', '**/*.ts+(|x)', '../**/*.ts+(|x)'],

packages/vue/rollup.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ const plugins = [
3838
declaration: false,
3939
declarationMap: false,
4040
paths,
41+
baseUrl: '.',
4142
},
4243
},
4344
include: ['*.ts+(|x)', '**/*.ts+(|x)', '../**/*.ts+(|x)'],

packages/wasm/rollup.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ const plugins = [
2828
'@sentry/types': ['../types/src'],
2929
'@sentry/minimal': ['../minimal/src'],
3030
},
31+
baseUrl: '.',
3132
},
3233
},
3334
include: ['*.ts+(|x)', '**/*.ts+(|x)', '../**/*.ts+(|x)'],

0 commit comments

Comments
 (0)