File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
packages/integration-tests Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -283,7 +283,7 @@ jobs:
283
283
matrix :
284
284
bundle :
285
285
- esm
286
- - dist
286
+ - cjs
287
287
- bundle
288
288
- bundle_min
289
289
- bundle_es6
Original file line number Diff line number Diff line change 20
20
"test:bundle:min" : " PW_BUNDLE=bundle_min yarn test" ,
21
21
"test:bundle:es6" : " PW_BUNDLE=bundle_es6 yarn test" ,
22
22
"test:bundle:es6:min" : " PW_BUNDLE=bundle_es6_min yarn test" ,
23
- "test:dist " : " PW_BUNDLE=dist yarn test" ,
23
+ "test:cjs " : " PW_BUNDLE=cjs yarn test" ,
24
24
"test:esm" : " PW_BUNDLE=esm yarn test" ,
25
25
"test:ci" : " playwright test ./suites --browser='all' --reporter='line'"
26
26
},
Original file line number Diff line number Diff line change @@ -10,23 +10,23 @@ const PACKAGE_PATH = '../../packages';
10
10
11
11
const bundleKey = process . env . PW_BUNDLE ;
12
12
13
- // `esm` and `dist ` builds are modules that can be imported / aliased by webpack
14
- const useCompiledModule = bundleKey && ( bundleKey === 'esm' || bundleKey === 'dist ' ) ;
13
+ // `esm` and `cjs ` builds are modules that can be imported / aliased by webpack
14
+ const useCompiledModule = bundleKey && ( bundleKey === 'esm' || bundleKey === 'cjs ' ) ;
15
15
16
16
// bundles need to be injected into HTML before Sentry initialization.
17
17
const useBundle = bundleKey && ! useCompiledModule ;
18
18
19
19
const BUNDLE_PATHS : Record < string , Record < string , string > > = {
20
20
browser : {
21
- dist : 'dist/index.js' ,
21
+ cjs : 'dist/index.js' ,
22
22
esm : 'esm/index.js' ,
23
23
bundle : 'build/bundle.js' ,
24
24
bundle_min : 'build/bundle.min.js' ,
25
25
bundle_es6 : 'build/bundle.es6.js' ,
26
26
bundle_es6_min : 'build/bundle.es6.min.js' ,
27
27
} ,
28
28
tracing : {
29
- dist : 'dist/index.js' ,
29
+ cjs : 'dist/index.js' ,
30
30
esm : 'esm/index.js' ,
31
31
bundle : 'build/bundle.tracing.js' ,
32
32
bundle_min : 'build/bundle.tracing.min.js' ,
You can’t perform that action at this time.
0 commit comments