1.0.0 • Published 4 years ago
@breathlessway/plugin-external-helpers-mini v1.0.0
fork from @babel/plugin-external-helpers
This plugin contains helper functions that’ll be placed at the top of the generated code
See our website @babel/plugin-external-helpers for more information.
为了解决生成的
babelHelpers
在小程序中undefined
,将babelHelpers
改成global.babelHelpers
Install
Using npm:
npm install --save-dev @breathlessway/plugin-external-helpers-mini
or using yarn:
yarn add @breathlessway/plugin-external-helpers-mini --dev