Lines Matching refs:resourcePath
184 const dirName = path.parse(this.resourcePath)
185 const name = isEntry ? dirName.name : resourceQuery.name || getNameByPath(this.resourcePath)
186 let parentPath = resourceQuery.parentPath || this.resourcePath;
188 elements[this.resourcePath] = elements[this.resourcePath] || {};
189 elements[this.resourcePath][name] = true;
191 elements[this.resourcePath] = elements[this.resourcePath] || {};
192 elements[this.resourcePath]["parent"] = parentPath;
194 elements[this.resourcePath]["parent"] = elements[elements[parentPath]["parent"]];
195 parentPath = elements[this.resourcePath]["parent"];
215 return _this.resourcePath === path.resolve(process.env.projectPath,
223 const filename = _this.resourcePath.replace(path.extname(_this.resourcePath).toString(), '')
244 source: _this.resourcePath,
246 }), _this.resourcePath)
273 } else if (/\.js$/.test(_this.resourcePath)) {
282 if (path.extname(_this.resourcePath).match(/\.hml/)) {
283 const filename = _this.resourcePath.replace(path.extname(_this.resourcePath).toString(), '')
284 const resourcePath = _this.resourcePath
290 output += loadPageCheckElementLength(_this, elementLength, frag, elementNames, resourcePath,
298 source: _this.resourcePath
299 }), _this.resourcePath)
318 function loadPageCheckElementLength (_this, elementLength, frag, elementNames, resourcePath,
324 let src = resourcePath
330 const filePath = path.join(path.dirname(resourcePath), src)