https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37911 --- Comment #105 from David Cook <dcook@prosentient.com.au> --- (In reply to Jonathan Druart from comment #104)
There is no error message. Just try: 0. rm -rf koha-tmpl/intranet-tmpl/prog/js/vue/dist/* 1. apply the patches, yarn install && yarn build 2. Notice that more than admin, preservation.js and erm.js have been generated in dist 3. Generate the makefile, make, make install and notice that only admin, erm.js, preservation.js have been copied to /usr/share/koha/intranet/htdocs/intranet-tmpl/prog/js/vue/dist/
Expected: All the .js file should be copied.
Interesting. I thought that make should complain about unknown files being there. Maybe I had it backwards and it only complains if known files are missing. Ok, I've got something in mind for this. I shouldn't work on it today, but I might take a few minutes...
Note that I don't think we should copy the .esm.js files.
While I haven't looked at the files yet, in theory I think we should copy the .esm.js files, as I'm quite interested in working with them in the future. I find it very nice working with ESM, especially for things like plugins or *UserJS. -- You are receiving this mail because: You are watching all bug changes.