You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
652 B
18 lines
652 B
import commonjs from '@rollup/plugin-commonjs'; // Convert CommonJS modules to ES6
|
|
import vue from 'rollup-plugin-vue'; // Handle .vue SFC files
|
|
import buble from '@rollup/plugin-buble'; // Transpile/polyfill with reasonable browser support
|
|
export default {
|
|
input: 'src/main.js', // Path relative to package.json
|
|
output: {
|
|
name: 'MeshkeeToast',
|
|
exports: 'named',
|
|
},
|
|
plugins: [
|
|
commonjs(),
|
|
vue({
|
|
css: true, // Dynamically inject css as a <style> tag
|
|
compileTemplate: true, // Explicitly convert template to render function
|
|
}),
|
|
buble(), // Transpile to ES5
|
|
],
|
|
}; |