extension-develop 2.0.0-rc.37 → 2.0.0-rc.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/module.js +4 -3
- package/package.json +1 -1
package/dist/module.js
CHANGED
|
@@ -179,7 +179,7 @@ const GECKO_BASED_BROWSERS = [
|
|
|
179
179
|
];
|
|
180
180
|
const external_console_namespaceObject = require("console");
|
|
181
181
|
var package_namespaceObject = {
|
|
182
|
-
i8: "2.0.0-rc.
|
|
182
|
+
i8: "2.0.0-rc.38"
|
|
183
183
|
};
|
|
184
184
|
function getLoggingPrefix(feature, type) {
|
|
185
185
|
if ('error' === type) return `${external_pintor_default().bold(external_pintor_default().red('ERROR'))} in ${feature} ${external_pintor_default().red("\u2716\uFE0E\u2716\uFE0E\u2716\uFE0E")}`;
|
|
@@ -1084,6 +1084,7 @@ async function maybeUseReact(projectPath) {
|
|
|
1084
1084
|
};
|
|
1085
1085
|
}
|
|
1086
1086
|
const external_vue_loader_namespaceObject = require("vue-loader");
|
|
1087
|
+
const external_url_namespaceObject = require("url");
|
|
1087
1088
|
let load_loader_options_userMessageDelivered = false;
|
|
1088
1089
|
async function loadLoaderOptions(projectPath, framework) {
|
|
1089
1090
|
const loaderPath = external_path_namespaceObject.join(projectPath, `${framework}.loader.js`);
|
|
@@ -1095,7 +1096,7 @@ async function loadLoaderOptions(projectPath, framework) {
|
|
|
1095
1096
|
load_loader_options_userMessageDelivered = true;
|
|
1096
1097
|
}
|
|
1097
1098
|
try {
|
|
1098
|
-
const module = await import(configPath);
|
|
1099
|
+
const module = await import((0, external_url_namespaceObject.pathToFileURL)(configPath).href);
|
|
1099
1100
|
return module.default || module;
|
|
1100
1101
|
} catch (err) {
|
|
1101
1102
|
const error = err;
|
|
@@ -5078,7 +5079,7 @@ function portInUse(requestedPort, newPort) {
|
|
|
5078
5079
|
async function loadConfigFile(configPath) {
|
|
5079
5080
|
const absolutePath = external_path_namespaceObject.resolve(configPath);
|
|
5080
5081
|
try {
|
|
5081
|
-
const module = await import(absolutePath);
|
|
5082
|
+
const module = await import((0, external_url_namespaceObject.pathToFileURL)(absolutePath).href);
|
|
5082
5083
|
return module.default || module;
|
|
5083
5084
|
} catch (err) {
|
|
5084
5085
|
const error = err;
|