Babel compiler plugin for the WePY framework (v1.5.3). This package integrates Babel into WePY's build pipeline, allowing ES2015+ syntax transpilation for WePY projects. It is specifically designed for WePY 1.x and offers configuration via `wepy.config.js`. Unlike generic Babel setups, this plugin seamlessly works with WePY's compilation system. Release cadence is low; the package has been stable with infrequent updates. Key differentiator: tailored for WePY's compiler lifecycle hooks.
npm install wepy-compiler-babelVerified import paths — ran on the pinned version, not inferred.
Configures the babel compiler in a WePY project with ES2015 and Stage-1 presets plus transform plugins.
Use @babel/preset-env and @babel/plugin-transform-runtime, and update wepy-compiler-babel if compatible.
For WePY 2.x, use wepy-compiler-babel version that supports @wepy/cli or use built-in babel support.
Upgrade Node.js to version 6 or later.
npm install babel-core --save-dev
Use Babel 6 presets (e.g., 'es2015', 'stage-1') or upgrade to wepy-compiler-babel with Babel 7 support.
No dependency data recorded yet.