Skip to content
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

Enable JS minimization #6

Open
tobia opened this issue May 4, 2015 · 1 comment
Open

Enable JS minimization #6

tobia opened this issue May 4, 2015 · 1 comment

Comments

@tobia
Copy link

tobia commented May 4, 2015

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?

@peh
Copy link
Owner

peh commented May 4, 2015

Will have a Look over the next Weekend but if you wan't frei free to Look into it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants