@marklogic-community/grove-vue-core-components
Version:
Grove Vue UI core components
24 lines (22 loc) • 666 B
JavaScript
import vue from 'rollup-plugin-vue'; // Handle .vue SFC files
import buble from 'rollup-plugin-buble'; // Transpile/polyfill with reasonable browser support
import commonjs from 'rollup-plugin-commonjs';
export default {
input: 'src/wrapper.js', // Path relative to package.json
output: {
name: 'CoreComponents',
exports: 'named',
globals: {
'vue-multiselect': 'MultiSelect'
}
},
plugins: [
commonjs(),
vue({
css: true, // Dynamically inject css as a <style> tag
compileTemplate: true // Explicitly convert template to render function
}),
buble() // Transpile to ES5
],
external: ['vue-multiselect']
};