From 6864ce64efbb2fd12da76b5a3dbf7039d83347d1 Mon Sep 17 00:00:00 2001 From: "earo.lau" Date: Mon, 23 Jun 2025 23:33:10 +0800 Subject: [PATCH] =?UTF-8?q?Update=20display=20name=20and=20title=20for=20J?= =?UTF-8?q?Q=20=E9=8A=B7=E5=94=AE=E5=A0=B1=E8=A1=A8=E5=B7=A5=E5=85=B7;=20a?= =?UTF-8?q?djust=20production=20URL=20in=20webpack=20config?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/manifest.xml | 2 +- src/src/taskpane/taskpane.html | 2 +- src/webpack.config.js | 9 ++------- 3 files changed, 4 insertions(+), 9 deletions(-) diff --git a/src/manifest.xml b/src/manifest.xml index 97ba910..65a1fde 100644 --- a/src/manifest.xml +++ b/src/manifest.xml @@ -4,7 +4,7 @@ 1.0.0.0 Contoso en-US - + diff --git a/src/src/taskpane/taskpane.html b/src/src/taskpane/taskpane.html index 877f9bd..16fd24d 100644 --- a/src/src/taskpane/taskpane.html +++ b/src/src/taskpane/taskpane.html @@ -8,7 +8,7 @@ - Contoso Task Pane Add-in + JQ 銷售報表工具 diff --git a/src/webpack.config.js b/src/webpack.config.js index 2b52a65..ad10c9c 100644 --- a/src/webpack.config.js +++ b/src/webpack.config.js @@ -5,7 +5,7 @@ const CopyWebpackPlugin = require("copy-webpack-plugin"); const HtmlWebpackPlugin = require("html-webpack-plugin"); const urlDev = "https://localhost:3000/"; -const urlProd = "https://www.contoso.com/"; // CHANGE THIS TO YOUR PRODUCTION DEPLOYMENT LOCATION +const urlProd = "http://addin.earo.top/kelly-report"; // CHANGE THIS TO YOUR PRODUCTION DEPLOYMENT LOCATION async function getHttpsOptions() { const httpsOptions = await devCerts.getHttpsServerOptions(); @@ -74,12 +74,7 @@ module.exports = async (env, options) => { }, }, ], - }), - new HtmlWebpackPlugin({ - filename: "commands.html", - template: "./src/commands/commands.html", - chunks: ["polyfill", "commands"], - }), + }) ], devServer: { headers: {