Skip to content

Commit

Permalink
add keepNames option to esbuild on --browser
Browse files Browse the repository at this point in the history
  • Loading branch information
izelnakri committed Sep 3, 2021
1 parent 0085bcd commit 90e84a9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/commands/run/tests-in-browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ export default async function runTestsInBrowser(
},
bundle: true,
logLevel: 'error',
outfile: `${projectRoot}/${output}/tests.js`
outfile: `${projectRoot}/${output}/tests.js`,
keepNames: true
}), // NOTE: This prevents file cache most likely
Promise.all(cachedContent.htmlPathsToRunTests.map(async (htmlPath) => {
let targetPath = `${config.projectRoot}/${config.output}${htmlPath}`;
Expand Down

0 comments on commit 90e84a9

Please sign in to comment.