MPP / KJS: Fix incorrect source maps generating for ESM target
(cherry picked from commit 0553a2bf12b35f33f30c6400ab3af14341877946)
This commit is contained in:
committed by
teamcity
parent
ad9025afa6
commit
ddd71851cf
+1
-1
@@ -211,7 +211,7 @@ data class KotlinWebpackConfig(
|
|||||||
"""
|
"""
|
||||||
// source maps
|
// source maps
|
||||||
config.module.rules.push({
|
config.module.rules.push({
|
||||||
test: /\.js${'$'}/,
|
test: /\.m?js${'$'}/,
|
||||||
use: ["source-map-loader"],
|
use: ["source-map-loader"],
|
||||||
enforce: "pre"
|
enforce: "pre"
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user