From f77fec21764f7645d7db8a4cf21f7a369176148d Mon Sep 17 00:00:00 2001 From: fbongcam Date: Tue, 11 Nov 2025 04:30:58 +0100 Subject: [PATCH] Fixes 'componentDir' option not changing path --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 0189ca1..0f3f4b3 100644 --- a/index.js +++ b/index.js @@ -3,7 +3,7 @@ const { resolve } = require('path'); const { parse } = require('node-html-parser'); function viteHTMLIncludes(options = {}) { - const { componentsPath = '/components/' } = options; + const componentsPath = options.componentsDir || '/components/'; let config; function evaluateWithLocals(code, locals) {