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

not possible to join or uglify #5

Open
HusseinMorsy opened this issue Sep 30, 2015 · 2 comments
Open

not possible to join or uglify #5

HusseinMorsy opened this issue Sep 30, 2015 · 2 comments

Comments

@HusseinMorsy
Copy link

I have the problem that elm-brunch directly compiles to files in the destination folder. So brunch can't join the compiled elm files with other javascripts files, nor is it possible to uglify.

Other brunch plugins, like coffescript-brunch returns the content of compiled file to the callback instead of directly writing to the destination folder.

Do you have any idea to solve the problem ?

@madsflensted
Copy link
Owner

Currently the elm compiler will bundle all the elm related libraries together, and does it's own management of dependencies. And the way this is handled are about to change in the upcoming releases of the elm compiler / make utility. So I have not tried to do anything fancy to pass generated javascript down the brunch pipeline.

I am sure there is a way to get brunch to take the generated javascript and post-process it if you need to, but just have haven't needed it.

@AlexKovalevych
Copy link

Any news on this one?

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

No branches or pull requests

3 participants