On Wed, 27 Jun 2018 04:43:43 -0700 [email protected] 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.
signature.asc
Description: OpenPGP digital signature
-- Pkg-javascript-devel mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel
