fix: follow more closely what is done in the atpackager plugin

see https://github.com/ariatemplates/noder-js/blob/master/build/builders/NoderPackage.js