From dd6c3219c4c47c26825ecbf08d1a6a47f9b5b6d9 Mon Sep 17 00:00:00 2001 From: Cosmin Popovici Date: Tue, 30 Jul 2024 17:45:48 +0300 Subject: [PATCH] revert: automatically setting baseURL --- src/transformers/index.js | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/transformers/index.js b/src/transformers/index.js index be387967..a3d4d567 100644 --- a/src/transformers/index.js +++ b/src/transformers/index.js @@ -178,21 +178,6 @@ export async function run(html = '', config = {}) { posthtmlPlugins.push( baseUrl(get(config, 'baseURL', get(config, 'baseUrl', {}))) ) - } else { - /** - * Set baseURL to `build.static.destination` if it's not already set. - */ - const destination = get(config, 'build.static.destination', '') - if (destination && !config._dev) { - posthtmlPlugins.push( - baseUrl({ - url: destination, - allTags: true, - styleTag: true, - inlineCss: true, - }) - ) - } } /**