0.1.2 • Published 4 years ago
@otools/babel-preset-config v0.1.2
@otools/babel-preset-config
Usage
// babel.config.js
module.exports = {
presets: ['@otools/babel-preset-config'],
}
Features
TypeScript
React
(includereact-hot-loader
)NODE_ENV
/BABEL_ENV
supportdevelopment
: used in development modetest
: used in testproduction
: used in production mode