remove build config
This commit is contained in:
parent
c0e5021954
commit
cba4669d54
3 changed files with 3 additions and 3 deletions
32
resources/example-config.js
Normal file
32
resources/example-config.js
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
/**
|
||||
* Configuration object for the AsaJS build process.
|
||||
* @type {import('asajs/config.d.ts').Config}
|
||||
*/
|
||||
export const config = {
|
||||
packinfo: {
|
||||
name: "AsaJS",
|
||||
description: "Create your Minecraft JSON-UI resource packs using JavaScript.",
|
||||
version: [1, 0, 0],
|
||||
},
|
||||
compiler: {
|
||||
enabled: true,
|
||||
autoImport: true,
|
||||
autoEnable: true,
|
||||
importToPreview: false,
|
||||
},
|
||||
binding_functions: {
|
||||
custom_abs: function (number) {
|
||||
const randomAbs = RandomBindingString(16)
|
||||
|
||||
return {
|
||||
generate_bindings: [
|
||||
{
|
||||
source_property_name: `[ abs(${number}) ]`,
|
||||
target_property_name: randomAbs,
|
||||
},
|
||||
],
|
||||
return_value: randomAbs,
|
||||
}
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in a new issue