It seems to me that when building the war file, JSX resources are not minimized, while JS ones are.
Right now I'm writing my components as *.jsx files, having one of them (called Main) include the others with asset pipeline include comments, and referencing it from the GSP page with:
<asset:reactTemplate src="Main.jsx"/>
This works both in run-app and war, but the compiled version in the war is not minimized.
Should I organize or include my JSX files differently? Or is this feature not here yet? Can you piggyback on the regular asset pipeline minimization procedure?
It seems to me that when building the war file, JSX resources are not minimized, while JS ones are.
Right now I'm writing my components as *.jsx files, having one of them (called Main) include the others with asset pipeline include comments, and referencing it from the GSP page with:
This works both in run-app and war, but the compiled version in the war is not minimized.
Should I organize or include my JSX files differently? Or is this feature not here yet? Can you piggyback on the regular asset pipeline minimization procedure?