Index: webpack_runner.js |
diff --git a/webpack_runner.js b/webpack_runner.js |
index e18c7e7e7dd5e878f634001731ef8bb0c778343a..6e8685ea1e9f2752b34dad742c14ca9fa959a54f 100644 |
--- a/webpack_runner.js |
+++ b/webpack_runner.js |
@@ -50,7 +50,7 @@ process.stdin.on("end", () => |
devtool: "source-map", |
module: { |
rules: [{ |
- include: path.join(__dirname, "info.js"), |
+ include: path.join(extension_path, "lib", "info.js"), |
use: ["info-loader"] |
}] |
}, |
@@ -67,7 +67,7 @@ process.stdin.on("end", () => |
alias: { |
// To use our custom loader for the info module we must first set up |
// an alias to a file that exists. |
- info$: path.join(__dirname, "info.js"), |
+ info$: path.join(extension_path, "lib", "info.js"), |
// Prevent builtin Node.js modules from being used instead of our own |
// when the names clash. Once relative paths are used this won't be |
// necessary. |