Add different file in production vs development in package


I have a simple package to include Vue.js I’d like to include the development version in development, and the live version when in production. Unfortunately when I do this, I get “Meteor is not defined”. How do I do this in a package? Thank you!

Package.onUse(function(api) {
        api.addFiles('dist/vue.common.js', 'client');
        api.addFiles('dist/vue.min.js', 'client');