Skip to content

Commit

Permalink
Fix esbuild inlining issue
Browse files Browse the repository at this point in the history
  • Loading branch information
marvinhagemeister committed Dec 22, 2022
1 parent 4fe8287 commit ca2bee9
Show file tree
Hide file tree
Showing 3 changed files with 568 additions and 11 deletions.
4 changes: 2 additions & 2 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -324,9 +324,9 @@ module.exports = function(config) {
// esbuild options
target: 'es2017',
define: {
COVERAGE: coverage,
COVERAGE: JSON.stringify(coverage),
'process.env.NODE_ENV': JSON.stringify(process.env.NODE_ENV || ''),
ENABLE_PERFORMANCE: performance
ENABLE_PERFORMANCE: JSON.stringify(performance)
},
plugins: [createEsbuildPlugin()]
}
Expand Down
Loading

0 comments on commit ca2bee9

Please sign in to comment.