
31 Oct
2014
31 Oct
'14
8:02 p.m.
One more thing I had forgotten to mention, and still need to implement in GHCJS: If a library has web assets, for example CSS files or images for a GUI framework library, they should be listed under `data-files` of a package. The compiler then makes all data directories of dependencies available in a subdirectory of the directory containing the generated JavaScript and HTML files. Libraries then use their own "Paths_packagename" module to find the location. Location should probably be based on the package key, not the package version, so this requires #2194 to be resolved first.