From fcd4cf7b351b86e9d6f01a6a8dddacba66e4e70e Mon Sep 17 00:00:00 2001 From: WolverinDEV Date: Fri, 19 Mar 2021 01:45:08 +0100 Subject: [PATCH] using the plugin config module prefix --- plugin/plugin.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/plugin.ts b/plugin/plugin.ts index a8638a6..bc16e48 100644 --- a/plugin/plugin.ts +++ b/plugin/plugin.ts @@ -65,7 +65,7 @@ class SvgSpriteModule extends Module { } identifier() { - return "svg-sprite/" + this.configName; + return this.pluginConfig.modulePrefix + this.configName; } readableIdentifier() { @@ -73,7 +73,7 @@ class SvgSpriteModule extends Module { } libIdent() { - return "svg-sprite/" + this.configName; + return this.pluginConfig.modulePrefix + this.configName; } needBuild(context, callback) {