Hi
I've the problem with module dependencies that are also transformed with babel ;
The below exception is thrown while trying to run babel transformation on react-with-addons module :
[BABEL] Note: The code generator has deoptimised the styling of "unknown" as it exceeds the max of "100KB".
Here is my module :
import $ from 'jquery';
import React from 'react-with-addons';
import ReactBootstrap from 'react-bootstrap';
var {Table,Row,Column,Accordion,Panel} = ReactBootstrap;
const Ancillaries = React.createClass({
render() {
return <Accordion>
{this.props.passengers.map(this.renderAncillaries)}
</Accordion>
},
renderAncillaries(passenger,indx){
return <Panel header={`Passenger ${indx} ${passenger.firstName} ${passenger.lastName} `} eventKey={indx}>
</Panel>
}
});
export default Ancillaries;
Please not that both 'jquery' and 'react-with-addons' and 'react-bootstrap' are transformed.
Hi
I've the problem with module dependencies that are also transformed with babel ;
The below exception is thrown while trying to run babel transformation on react-with-addons module :
Here is my module :
Please not that both 'jquery' and 'react-with-addons' and 'react-bootstrap' are transformed.