Newer
Older
support / app / app-info.js
Michal Prihoda on 1 Feb 2022 327 bytes Hello world!
const scalaVersion = require('./scala-version.js')

const bundleDir = (mode) => `scala-${scalaVersion}/app-${mode === 'production' ? 'opt' : 'fastopt'}`
const bundlePath = (mode) => `target/${bundleDir(mode)}`
const bundleMain = (mode) => `${bundlePath(mode)}/main.js`

module.exports = {
  bundleDir, bundlePath, bundleMain
}