vue-currency-symbol
Version:
A simple VueJs library that returns different currency badges.
28 lines (26 loc) • 867 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 resolve from 'rollup-plugin-node-resolve'
import json from 'rollup-plugin-json'
export default {
input: 'src/CountrySymbol.js',
output: {
name: 'CountryCurrencySymbol',
exports: 'named',
},
plugins: [
json(),
resolve({
jsnext: true,
main: true,
browser: true,
extensions: [".js", ".json"],
preferBuiltins: false, // Default: true
}),
vue({
css: true, // Dynamically inject css as a <style> tag
compileTemplate: true, // Explicitly convert template to render function
}),
buble(), // Transpile to ES5
],
};