Skip to content

Babel plugin #32

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
xgrommx opened this issue Mar 4, 2016 · 5 comments
Closed

Babel plugin #32

xgrommx opened this issue Mar 4, 2016 · 5 comments

Comments

@xgrommx
Copy link

xgrommx commented Mar 4, 2016

I have tried to use your plugin but I got this error:

ReferenceError: Unknown plugin "transform-pipeline-operator" specified in "/Users/gromm/tmp/babel-pipeline-app/.babelrc" at 0, attempted to resolve relative to "/Users/gromm/tmp/babel-pipeline-app"
    at /Users/gromm/.nvm/versions/node/v5.3.0/lib/node_modules/babel-cli/node_modules/babel-core/lib/transformation/file/options/option-manager.js:191:17
    at Array.map (native)
    at Function.normalisePlugins (/Users/gromm/.nvm/versions/node/v5.3.0/lib/node_modules/babel-cli/node_modules/babel-core/lib/transformation/file/options/option-manager.js:167:20)
    at OptionManager.mergeOptions (/Users/gromm/.nvm/versions/node/v5.3.0/lib/node_modules/babel-cli/node_modules/babel-core/lib/transformation/file/options/option-manager.js:289:36)
    at OptionManager.addConfig (/Users/gromm/.nvm/versions/node/v5.3.0/lib/node_modules/babel-cli/node_modules/babel-core/lib/transformation/file/options/option-manager.js:219:10)
    at OptionManager.findConfigs (/Users/gromm/.nvm/versions/node/v5.3.0/lib/node_modules/babel-cli/node_modules/babel-core/lib/transformation/file/options/option-manager.js:425:16)
    at OptionManager.init (/Users/gromm/.nvm/versions/node/v5.3.0/lib/node_modules/babel-cli/node_modules/babel-core/lib/transformation/file/options/option-manager.js:473:12)
    at File.initOptions (/Users/gromm/.nvm/versions/node/v5.3.0/lib/node_modules/babel-cli/node_modules/babel-core/lib/transformation/file/index.js:206:75)
    at new File (/Users/gromm/.nvm/versions/node/v5.3.0/lib/node_modules/babel-cli/node_modules/babel-core/lib/transformation/file/index.js:124:22)
    at Pipeline.transform (/Users/gromm/.nvm/versions/node/v5.3.0/lib/node_modules/babel-cli/node_modules/babel-core/lib/transformation/pipeline.js:44:16)
@alvaropinot
Copy link

Hey @xgrommx even if this is issue quite old, just in case it helps anyone, I managed to see it working with the following setup. Hope it helps 😁 ! I may upload a sample repo, if useful.

@willin
Copy link

willin commented Aug 31, 2017

@hzoo
Copy link

hzoo commented Sep 27, 2017

Either way, any current plugins will need updating, and will likely be different than spec text babel/proposals#29

@hzoo
Copy link

hzoo commented Sep 30, 2017

We have a PR for the transform in the Babel repo: babel/babel#6335 if anyone wants to try it out in the REPL / review

@littledan
Copy link
Member

Babel plugin has been merged.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants