JavaScript (and other) files are always bundled. This makes debugging JavaScript very difficult:
- Very large files make finding code difficult
- The files are so large that browser debuggers can't find the source of exceptions and keep track of breakpoints
This also impacts #7.
Technical task:
Update js bundler servlet to serve files individually in dev by default, but with a configuration switch in app.conf to turn it back to the old way
comment from @andyberry88
'can we have a command line switch so this can be done easily as a one off? e.g. in CI i might want a bundle but in dev single files.'
see https://github.com/BladeRunnerJS/brjs-private/issues/170 for original issue
JavaScript (and other) files are always bundled. This makes debugging JavaScript very difficult:
This also impacts #7.
Technical task:
Update js bundler servlet to serve files individually in dev by default, but with a configuration switch in app.conf to turn it back to the old way
comment from @andyberry88
'can we have a command line switch so this can be done easily as a one off? e.g. in CI i might want a bundle but in dev single files.'
see https://github.com/BladeRunnerJS/brjs-private/issues/170 for original issue