Fix local server for dev build
Change-Id: I2294ab72ee20c2238242bb0f2b3eb1313451a463
This commit is contained in:
@@ -199,6 +199,7 @@ func readFile(originalPath string, redirectedPath string) ([]byte, error) {
|
||||
if strings.HasPrefix(originalPath, bowerComponentsSuffix) {
|
||||
pathsToTry = append(pathsToTry, "node_modules/wct-browser-legacy/node_modules/"+originalPath[len(bowerComponentsSuffix):])
|
||||
pathsToTry = append(pathsToTry, "node_modules/"+originalPath[len(bowerComponentsSuffix):])
|
||||
pathsToTry = append(pathsToTry, "node_modules/@webcomponents/"+originalPath[len(bowerComponentsSuffix):])
|
||||
}
|
||||
|
||||
if strings.HasPrefix(originalPath, nodeModulesPrefix) {
|
||||
|
Reference in New Issue
Block a user