ryanflorence / broccoli-es6-module-filter Goto Github PK
View Code? Open in Web Editor NEWTranspiler ES6 authored modules to other module types
License: MIT License
Transpiler ES6 authored modules to other module types
License: MIT License
It is not possible to override the extensions
and targetExtension
options.
I was trying to use broccoli-dist-es6-module
in the brocfile of an ember-cli project and I got this error:
$ ember build
version: 0.1.1
Building...
Invalid access to private name
Error: Invalid access to private name
at Error (<anonymous>)
at assertNotName (/Users/miguel/code/ember-cpm/node_modules/ember-cli/node_modules/broccoli-es6-concatenator/node_modules/es6-module-transpiler/dist/es6-module-transpiler.js:201:13)
at defineProperty (/Users/miguel/code/ember-cpm/node_modules/ember-cli/node_modules/broccoli-es6-concatenator/node_modules/es6-module-transpiler/dist/es6-module-transpiler.js:256:7)
at new Name (/Users/miguel/code/ember-cpm/node_modules/broccoli-dist-es6-module/node_modules/broccoli-es6-module-filter/node_modules/es6-module-transpiler/dist/es6-module-transpiler.js:103:5)
at /Users/miguel/code/ember-cpm/node_modules/broccoli-dist-es6-module/node_modules/broccoli-es6-module-filter/node_modules/es6-module-transpiler/dist/es6-module-transpiler.js:134:27
at Object.<anonymous> (/Users/miguel/code/ember-cpm/node_modules/broccoli-dist-es6-module/node_modules/broccoli-es6-module-filter/node_modules/es6-module-transpiler/dist/es6-module-transpiler.js:539:3)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
I've tracked down the problem to here: https://github.com/rpflorence/broccoli-es6-module-filter/blob/master/package.json#L22
The problems seems to be that es6-module-transpiler whet though a major rewrite in 0.5 version. The old version was quite buggy and collided with other packages, which is my exact issue. This is project is using a fork started out before that rewrite, but probably for a good reason.
Can I get more insight of why are we using a fork. I might be able to help.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.