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