add swc for resources