Fix copyOnly rule in package.js. Thanks @danielalexiuc!