@dylanarmstrong/babel-plugin-transform-boolean
v0.0.1
Published
Convert boolean operators into string concatenations
Downloads
3
Maintainers
Readme
Convert those pesky ||
into string concatenations.
In your babel.config.json
, place the following:
"plugins": [
"@dylanarmstrong/babel-plugin-transform-boolean"
]
console.log('hello' || ' ' || 'world');