You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: