Registry / devops / es6-module-transpiler-brunch

es6-module-transpiler-brunch

JSON →
library0.0.6jsnpmunverified

A Brunch plugin that integrates the es6-module-transpiler, an experimental compiler for writing JavaScript using a subset of ES6 module syntax and compiling it into AMD, CommonJS, or globals. This package is at version 0.0.6 and appears to be an early-stage project with minimal updates. It is designed for use with Brunch, but given its low version and experimental nature, it should be considered unstable. The plugin wraps the es6-module-transpiler (no longer actively maintained) and does not support modern ES modules. Use with caution.

npm install es6-module-transpiler-brunch
INSTALL
IMPORT
SIG · ES6-MODULE-TRANSPI
E
es6-module-transpiler-brunch
devopsjavascriptv0.0.6
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

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

default
import 'es6-module-transpiler-brunch'
const plugin = require('es6-module-transpiler-brunch')
This is a Brunch plugin; it is not meant to be imported directly. Instead, add it to your brunch-config plugins or package.json. The require usage may cause errors.
Register as Brunch plugin
In brunch-config: plugins: {es6modules: { /* options */ }}
const Es6Transpiler = require('es6-module-transpiler-brunch')
Brunch plugins are auto-detected; no manual require needed.
Configuration object
export default { plugins: { es6modules: { target: 'amd' } } }
import { transpiler } from 'es6-module-transpiler-brunch'
No named exports; only default plugin configuration via Brunch's config.

Configures the es6-module-transpiler-brunch plugin for Brunch with a target output format.

// In brunch-config.js or package.json: module.exports = { plugins: { es6modules: { target: 'amd' // or 'cjs', 'globals' } } };
Debug
Known issues
deprecatedThe es6-module-transpiler is no longer actively maintained and does not support modern ES module syntax (e.g., export default, import()). Consider using Babel or TypeScript instead.
fix
Replace with a modern transpiler like Babel (babel-brunch) or TypeScript (ts-brunch).
affects: *
breakingVersion 0.0.6 may have breaking changes from earlier 0.0.x releases due to lack of stable API. No changelog provided.
fix
Pin to specific version and test thoroughly.
affects: <0.0.6
gotchaPlugin is experimental and may produce incorrect output for advanced ES6 module patterns like default exports or re-exports.
fix
Test compiled output thoroughly or migrate to Babel.
affects: *
deprecatedBrunch itself has moved on; consider using a more modern build tool.
fix
Evaluate alternatives like Webpack, Rollup, or Vite.
affects: *
Errors
Common errors & fixes
Error: Cannot find module 'es6-module-transpiler'
es6-module-transpiler is not installed or missing from node_modules.
fix
Run `npm install es6-module-transpiler --save-dev` as it is a peer dependency.
Error: Plugin es6-module-transpiler-brunch failed: ...
Configuration options may be invalid or unsupported.
fix
Check brunch-config for valid es6modules options (target: 'amd', 'cjs', or 'globals').
TypeError: Cannot read property 'transpile' of undefined
The plugin cannot find the es6-module-transpiler instance.
fix
Ensure es6-module-transpiler is installed and is version compatible with the plugin.
Upgrade
Version history
0.0.6latest on npm
Audit
Dependencies
es6-module-transpilerrequiredCore compiler for transpiling ES6 module syntax; this plugin wraps it.
Agent activity
2 hits · last 30 days
node
2
Resources
es6-module-transpiler-brunch — npm install es6-module-transpiler-brunch · libregistry