Add .js extension to import paths
This commit is contained in:
@@ -61,7 +61,7 @@ function resolve(fromName, toName) {
|
|||||||
if (relative.endsWith('/')) {
|
if (relative.endsWith('/')) {
|
||||||
relative += 'index';
|
relative += 'index';
|
||||||
}
|
}
|
||||||
return relative;
|
return relative + '.js';
|
||||||
}
|
}
|
||||||
|
|
||||||
function getUnprovided(path) {
|
function getUnprovided(path) {
|
||||||
|
|||||||
Reference in New Issue
Block a user