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

Pirate Praveen praveen at debian.org
Wed Jun 27 13:40:55 BST 2018


On Wed, 27 Jun 2018 04:43:43 -0700 njoseph at riseup.net wrote:
> 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.

I think this is the syntax used by sprokets. We may be able to patch it
to use the regular commonjs require syntax.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 862 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20180627/778a8e7b/attachment.sig>


More information about the Pkg-javascript-devel mailing list