Using a proper webpack module id
parent
6a79237b51
commit
5bb050a48d
|
@ -72,6 +72,10 @@ class SvgSpriteModule extends Module {
|
||||||
return `SVG sprite ` + this.configName;
|
return `SVG sprite ` + this.configName;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
libIdent() {
|
||||||
|
return "svg-sprite/" + this.configName;
|
||||||
|
}
|
||||||
|
|
||||||
needBuild(context, callback) {
|
needBuild(context, callback) {
|
||||||
context.fileSystemInfo.getContextHash(this.config.folder, (error, hash) => {
|
context.fileSystemInfo.getContextHash(this.config.folder, (error, hash) => {
|
||||||
if(error) {
|
if(error) {
|
||||||
|
|
Loading…
Reference in New Issue