Enable component named file to be found in dist folder when no main file specified