fix corejs import with external lib
This commit is contained in:
+4
-1
@@ -122,7 +122,10 @@ const config: Configuration = {
|
||||
},
|
||||
entry: getScriptsEntryObject(),
|
||||
resolve: {
|
||||
extensions: [".ts", ".js"],
|
||||
extensions: [".ts", ".js", ".mjs"],
|
||||
// Explicitly define where node_modules is in this project for corejs imports
|
||||
// See: https://stackoverflow.com/a/62129649
|
||||
modules: [path.resolve(__dirname, "node_modules")],
|
||||
},
|
||||
output: {
|
||||
filename: "[name].js",
|
||||
|
||||
Reference in New Issue
Block a user