Registry / web-framework / babel-plugin-frontity

babel-plugin-frontity

JSON →
library1.0.4jsnpmunverified

A Babel plugin used internally by Frontity, a React framework for WordPress. Current version 1.0.4. It provides custom Babel configuration for Frontity projects, fixing source maps issues with Emotion and other build-time transformations. Not meant to be installed individually; it is a dependency of @frontity/core. The plugin is stable with low release cadence, as it only changes when core requires new Babel features. Alternatives include generic Babel presets, but this plugin is tailored to Frontity's specific needs.

npm install babel-plugin-frontity
INSTALL
IMPORT
SIG · BABEL-PLUGIN-FRONT
B
babel-plugin-frontity
web-frameworkjavascriptv1.0.4
Install
Import
Disk
Pass rate
0/ 6
Env Coverage0 / 6
glibc
1822
musl
1822
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
node 18226 runs
build_error
glibc
node 18226 runs
build_error
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

default
No direct import; the plugin is used via Babel configuration.
import babelPluginFrontity from 'babel-plugin-frontity'
This package is a Babel plugin, not a JavaScript module. It should be referenced in .babelrc or babel.config.js as a plugin, not imported.

Shows that babel-plugin-frontity is automatically included via @frontity/core; no manual setup needed.

// Ensure you have @frontity/core installed, which includes this plugin. // In your frontity.settings.js: export default { packages: ['my-theme'], // No direct configuration needed for this plugin. }; // The plugin is automatically applied by @frontity/core during build. // Example Babel config (not required): // module.exports = { // plugins: ['babel-plugin-frontity'] // };
Debug
Known issues
gotchaThis package is not meant to be installed individually; installing it separately may cause version conflicts.
fix
Do not add babel-plugin-frontity as a direct dependency. Use @frontity/core which includes it.
affects: >=0.0.0
deprecatedNo known deprecation warnings.
fix
None required.
affects: >=0.0.0
Errors
Common errors & fixes
Cannot find module 'babel-plugin-frontity'
Missing @frontity/core dependency or incorrect Babel plugin configuration.
fix
Ensure @frontity/core is installed and you are not manually adding the plugin in Babel config.
Upgrade
Version history
1.0.4latest on npm
Audit
Dependencies
@frontity/corerequiredbabel-plugin-frontity is used internally by @frontity/core and should not be installed separately.
Agent activity
11 hits · last 30 days
node
8
OpenAI (training)
2
Amazon
1
Resources
babel-plugin-frontity — npm install babel-plugin-frontity · libregistry