Skip to content

Commit dd29362

Browse files
committed
Change bundle name
1 parent 7cc1b55 commit dd29362

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/tests/src/_playwright/globalSetup.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,8 @@ const globalSetup = async (config: FullConfig<TestOptions>) => {
119119
const buildConfig = build.config({
120120
workingDir: cwd,
121121
// 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' },
124124
outDir: path.resolve(cwd, './dist'),
125125
plugins: [plugin],
126126
});

packages/tests/src/_playwright/projects/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ <h1>Welcome to the {{bundler}} Home page</h1>
1515
<button id="click_btn" role="button" data-dd-action-name="Click button">Click Me!</button>
1616
<a href="./view.html">Go to View Page</a>
1717

18-
<script src="./dist/{{bundler}}.js"></script>
18+
<script src="./dist/{{bundler}}-bundle.js"></script>
1919
</body>
2020

2121
</html>

0 commit comments

Comments
 (0)