vuex-dot
Version:
Simplifies two-way data binding and v-model usage on vuex state, providing full reactivity via generated setters/getters
25 lines (23 loc) • 576 B
JavaScript
import commonjs from 'rollup-plugin-commonjs';
import nodeResolve from 'rollup-plugin-node-resolve';
export default {
input: 'index.js',
output: {
file: 'dist/vuex-dot.js',
format: 'umd',
name: 'VuexDot',
exports: 'named'
},
plugins: [
nodeResolve({
jsnext: true,
main: true
}),
commonjs({
// non-CommonJS modules will be ignored, but you can also
// specifically include/exclude files
// these values can also be regular expressions
// include: /node_modules/
})
]
};