mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-06 01:51:05 +08:00
url -> assetUrl
This commit is contained in:
parent
a9d88cf2f3
commit
be7625a7d5
@ -30,8 +30,8 @@ export const urlsFromAssets = assets => {
|
||||
if (!Array.isArray(assetList)) {
|
||||
assetList = [assetList];
|
||||
}
|
||||
assetList.filter(url => re.exec(url)[1] !== 'map').forEach(url => {
|
||||
urls[re.exec(url)[1]].push(url);
|
||||
assetList.filter(assetUrl => re.exec(assetUrl)[1] !== 'map').forEach(assetUrl => {
|
||||
urls[re.exec(assetUrl)[1]].push(assetUrl);
|
||||
});
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user