From 8fd6085a096a79396c569addabf6edc74c924235 Mon Sep 17 00:00:00 2001 From: Gabe Yuan Date: Sun, 6 Aug 2023 22:22:09 +0800 Subject: [PATCH] fix public path --- config-overrides.js | 1 + docs/index.html | 2 +- docs/options.html | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/config-overrides.js b/config-overrides.js index 23b7f5a..72ac00d 100644 --- a/config-overrides.js +++ b/config-overrides.js @@ -130,6 +130,7 @@ const webWebpack = (config, env) => { }; config.output.filename = "[name].js"; + config.output.publicPath = "./"; config.plugins = config.plugins.filter( (plugin) => !names.includes(plugin.constructor.name) diff --git a/docs/index.html b/docs/index.html index f9386b4..4dc1ece 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1 +1 @@ -KISS Translator
\ No newline at end of file +KISS Translator
\ No newline at end of file diff --git a/docs/options.html b/docs/options.html index bb8e424..3e4934d 100644 --- a/docs/options.html +++ b/docs/options.html @@ -1 +1 @@ -KISS Translator
\ No newline at end of file +KISS Translator
\ No newline at end of file