You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be good to add an example of uglifyOps usage in the README.
The definiton is quite complex (SettingKey[(Seq[(File, String)]) => Seq[(Seq[(File, String)], String)]]) and not sufficient to understand the usage.
Thanks
The text was updated successfully, but these errors were encountered:
You need to supply a function that partitions a standard sbt mapping seq (Seq[(File, String)] into groups or layers. A convenient way to do this is to create a method in e.g. project/Layers.scala:
The String field that groups mappings is actually a relative path name. So you probably want to use something like "javascript/Layer1.js". This file will contain all files listed for that group concatenated and uglified. It will have a companion file with .map appended to the name.
Hi,
It would be good to add an example of uglifyOps usage in the README.
The definiton is quite complex (
SettingKey[(Seq[(File, String)]) => Seq[(Seq[(File, String)], String)]]
) and not sufficient to understand the usage.Thanks
The text was updated successfully, but these errors were encountered: