8.0.11 • Published 3 years ago
plugin-transform-template-literals v8.0.11
plugin-transform-template-literals
Support new option stripForeAndAftLinebreaks
, for detail:
stripForeAndAftLinebreaks:
"none" // None
"all" // Strip fore-and-aft /^[\n|\t|\s]+|[\n|\t|\s]+$/
"one" // Strip fore-and-aft /^[\n]|[\n]$/
Fork: https://github.com/babel/babel/tree/v7.8.6/packages/babel-plugin-transform-template-literals
@babel/plugin-transform-template-literals
Compile ES2015 template literals to ES5
See our website @babel/plugin-transform-template-literals for more information.
Install
Using npm:
npm install --save-dev @babel/plugin-transform-template-literals
or using yarn:
yarn add @babel/plugin-transform-template-literals --dev