[Pkg-javascript-devel] Bug#902178: node-turbolinks: Does not work as intended

njoseph at riseup.net njoseph at riseup.net
Wed Jun 27 12:43:43 BST 2018


I think the issue is with coffeescript compilation. I tried compiling it
using the coffee command. The index.js produced has no imports at all.
Hence, the output that is finally produced using webpack and uglifyjs is
just the index.js file. The dist file is literally the index.js file
with some webpack cruft added at the top.

I don't recognize the import syntax in the coffeescript files. Is this a
new require syntax introduced in coffeescript 2.0 ? But why put them in
comments with #= symbols? I hope it isn't a syntax that can only be
compiled by their "blade" gem.

--
Regards,
Joseph Nuthalapati



More information about the Pkg-javascript-devel mailing list