1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-12-12 11:10:29 +00:00

Add explicit @module annotation

This feels like a bug - it should be inferred automatically.
This commit is contained in:
Jonathan Coates 2020-12-25 17:42:53 +00:00
parent 7f9a707f75
commit b8d5a89446
2 changed files with 2 additions and 1 deletions

View File

@ -336,7 +336,7 @@ task minifyWeb(type: Exec, dependsOn: rollup) {
inputs.file("package-lock.json").withPropertyName("package-lock.json")
outputs.file("$buildDir/rollup/index.min.js").withPropertyName("output")
commandLine mkCommand('"node_modules/.bin/terser"' + " -o $buildDir/rollup/index.min.js $buildDir/rollup/index.js")
commandLine mkCommand('"node_modules/.bin/terser"' + " -o '$buildDir/rollup/index.min.js' '$buildDir/rollup/index.js'")
}
task illuaminateDocs(type: Exec, dependsOn: [minifyWeb, luaJavadoc]) {

View File

@ -1,5 +1,6 @@
--- Various utilities for working with strings and text.
--
-- @module cc.strings
-- @see textutils For additional string related utilities.
local expect = require "cc.expect".expect