Skip to content
This repository was archived by the owner on Apr 2, 2026. It is now read-only.

Commit 47031a7

Browse files
committed
fix an issue with a problematic import on production systems
1 parent 900bb8d commit 47031a7

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

packages/server/webpack/webpack.config.cjs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ module.exports = {
1919
},
2020
module: {
2121
rules: [
22+
{
23+
// Force CommonJS parsing for Apollon ES5 output despite package type=module.
24+
test: /node_modules[\\/]+@ls1intum[\\/]+apollon[\\/]+lib[\\/]es5[\\/].*\.js$/,
25+
type: 'javascript/auto',
26+
},
2227
{
2328
test: /\.m?js$/,
2429
resolve: {

0 commit comments

Comments
 (0)