File tree 2 files changed +3
-3
lines changed
packages/tests/src/_playwright
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -119,8 +119,8 @@ const globalSetup = async (config: FullConfig<TestOptions>) => {
119
119
const buildConfig = build . config ( {
120
120
workingDir : cwd ,
121
121
// We'll use the name of the bundler as the name of the entry file.
122
- // eg: For "Webpack 4" we'll have "./projects/dist/webpack4.js".
123
- entry : { [ name ] : './index.js' } ,
122
+ // eg: For "Webpack 4" we'll have "./projects/dist/webpack4-bundle .js".
123
+ entry : { [ ` ${ name } -bundle` ] : './index.js' } ,
124
124
outDir : path . resolve ( cwd , './dist' ) ,
125
125
plugins : [ plugin ] ,
126
126
} ) ;
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ <h1>Welcome to the {{bundler}} Home page</h1>
15
15
< button id ="click_btn " role ="button " data-dd-action-name ="Click button "> Click Me!</ button >
16
16
< a href ="./view.html "> Go to View Page</ a >
17
17
18
- < script src ="./dist/{{bundler}}.js "> </ script >
18
+ < script src ="./dist/{{bundler}}-bundle .js "> </ script >
19
19
</ body >
20
20
21
21
</ html >
You can’t perform that action at this time.
0 commit comments