Resource links
By default, FuseBox assumes that imports like
import * as file from './grumpy_cat.png';
should be treated as public links. Below is a list of all the file extensions that are assumed to be public links. Upon import, they will be copied to your dest folder.
['.ttf', '.otf', '.woff', '.woff2', 'eot', '.png', '.jpeg', '.jpg', '.gif', '.bmp', '.svg'];
fusebox({
link: { resourcePublicRoot: '/some-custom-public-root' },
});
Via Plugin
Alternatively, you can create a pluginLink to override/add additional rules:
fusebox({
plugins: [pluginLink(/\.png/, { useDefault: true })],
});