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

Original Flux Pro javascript files (with sourcemaps) not available anymore in v2 #1247

Closed
3 tasks done
gdebrauwer opened this issue Mar 4, 2025 · 3 comments
Closed
3 tasks done

Comments

@gdebrauwer
Copy link

gdebrauwer commented Mar 4, 2025

Flux version

v2

Livewire version

v3

Tailwind version

v4

Browser and Operating System

not applicable

What is the problem?

In v1, I could look at the original javascript files of Flux Pro. Those files were available in vendor/livewire/flux-pro/js. This made it easy to look at how certain components work in the background and to make customizations based on that code and using methods from those javascript files (for example, hacking the editor to add custom link buttons until it supports it by default #746). It also made debugging easier when a javascript error occurred because sourcemaps were available.

Is it possible to make those raw javascript files available again in flux pro v2?

Code snippets

not applicable

How do you expect it to work?

not applicable

Please confirm (incomplete submissions will not be addressed)

  • I have provided easy and step-by-step instructions to reproduce the bug.
  • I have provided code samples as text and NOT images.
  • I understand my bug report will be closed if I haven't met the criteria above.
@jeffchown
Copy link

@gdebrauwer @joshhanley answered this in a similar discussion: #1199 (comment)

@mauritskorse
Copy link

Yeah, as @jeffchown mentioned I had the same request. We're still thinking what to do, because this makes keeping these core customizations in sync with Flux updates quite a bit harder...

@joshhanley
Copy link
Member

@gdebrauwer yep, as I mentioned in that other issue, including the source code in v1 was a mistake, hence why it has been removed in v2. I'm going to close this as we're not going to change that back. But feel free to open issues or requests if you need to know how to do something in particular and we'll try out best to assist.

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

4 participants