This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline'"> | |
| <meta charset="UTF-8"> | |
| <title>Hello, Indigo!</title> | |
| <style> | |
| body { | |
| padding: 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import mill._, scalalib._, scalajslib._ | |
| import scala.collection.mutable | |
| object ElectronModule { | |
| class Worker(val dstBase: os.Path) extends AutoCloseable { | |
| private val updateTimes = mutable.Map[os.Path, Long]() | |
| private var process: os.SubProcess = null |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import mill._, scalalib._ | |
| object MyModule extends ScalaModule { | |
| def inlineIvyDeps = T { | |
| def parseDep(usingDepClause: String): Dep = { | |
| val part = usingDepClause.drop("//> using dep ".size) | |
| if (part.startsWith("\"")) Dep.parse(part.tail.init.trim) | |
| else Dep.parse(part.trim) | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| trait TailwindModule extends ScalaJSModule { | |
| def tailwindVersion: Target[String] = Task("v3.4.14") | |
| /** Tailwindcss download url. By default autodetected from props os.name and os.arch | |
| */ | |
| def tailwindBinUrl = Task { | |
| def nameMatch(prefix: String) = | |
| sys.props("os.name").toLowerCase.startsWith(prefix.toLowerCase) | |
| val platform = |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "files.watcherExclude": { | |
| "**/target": true | |
| }, | |
| "tailwindCSS.experimental.classRegex": [ | |
| [ | |
| "cls\\s*:=\\s*(\"[^\"]*\")", | |
| "\"([^\"]*\")" | |
| ], | |
| [ |
OlderNewer