Unverified Commit 41ced7b5 authored by Jay Zhuang's avatar Jay Zhuang Committed by GitHub

[asset] Include assets in input files (#83416)

parent 34059eec
......@@ -365,6 +365,7 @@ class ManifestAssetBundle implements AssetBundle {
}
for (final _Asset variant in assetVariants[asset]) {
final File variantFile = variant.lookupAssetFile(_fileSystem);
inputFiles.add(variantFile);
assert(variantFile.existsSync());
entries[variant.entryUri.path] ??= DevFSFileContent(variantFile);
}
......
......@@ -54,6 +54,7 @@ void main() {
packagesPath,
globals.fs.path.join(dataPath, 'font', 'pubspec.yaml'),
manifestPath,
globals.fs.path.join(dataPath, 'font', 'test_font_file'),
],
);
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment