Skip to content

Commit ca2bee9

Browse files
Fix esbuild inlining issue
1 parent 4fe8287 commit ca2bee9

File tree

3 files changed

+568
-11
lines changed

3 files changed

+568
-11
lines changed

karma.conf.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,9 +324,9 @@ module.exports = function(config) {
324324
// esbuild options
325325
target: 'es2017',
326326
define: {
327-
COVERAGE: coverage,
327+
COVERAGE: JSON.stringify(coverage),
328328
'process.env.NODE_ENV': JSON.stringify(process.env.NODE_ENV || ''),
329-
ENABLE_PERFORMANCE: performance
329+
ENABLE_PERFORMANCE: JSON.stringify(performance)
330330
},
331331
plugins: [createEsbuildPlugin()]
332332
}

0 commit comments

Comments
 (0)