Skip to content

Commit

Permalink
debug dirnames.....
Browse files Browse the repository at this point in the history
  • Loading branch information
steam0r committed Mar 4, 2024
1 parent c508179 commit 50ee8ca
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions webpack.standalone.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,15 @@ import webpack from "webpack";
export default (isLiveBuild, buildInfo) =>
{
const __dirname = new URL(".", import.meta.url).pathname;
console.log("DIRNAME", __dirname);
console.log("DIRNAMES", __dirname, path.join("./src_client", "index.js"), path.resolve("./public", "js"));
return {
"context": __dirname,
"mode": isLiveBuild ? "production" : "development",
"devtool": isLiveBuild ? "source-map" : "eval-cheap-module-source-map",
"entry": {
"scripts.standalone.js": [path.resolve(__dirname, "src_client", "index_standalone.js")]
"scripts.standalone.js": [path.join("./src_client", "index_standalone.js")]
},
"output": {
"path": path.resolve(__dirname, "public", "js"),
"path": path.resolve("./public", "js"),
"filename": "[name]",
},
"stats": isLiveBuild,
Expand Down

0 comments on commit 50ee8ca

Please sign in to comment.