rollup-pound-plugin

1.0.0 • Public • Published

rollup-plugin-pound

Get rid of those pesky American $ signs in your Javascript template literals—replace them with good old British £ symbols!

Example

Add it to your Rollup plugin list:

// rollup.config.js
export default {
 ...
 plugins: [
        poundPlugin()
    ]
 ...
}

And watch as

// Your code
console.log(`Hello £{process.argv[2]}`);

is transformed to

// Transpiled code
console.log(`Hello ${process.argv[2]}`);

Perfect!

No guarantees are provided as to whether £ symbols not in template strings will be transpiled

Dependencies (1)

Dev Dependencies (2)

Package Sidebar

Install

npm i rollup-pound-plugin

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

2.61 kB

Total Files

3

Last publish

Collaborators

  • penalosa