feat(content processor): update logic

This commit is contained in:
Haoyu Xu
2023-01-21 17:44:53 -05:00
parent f363c0b908
commit 3efd3cb11a
3 changed files with 25 additions and 37 deletions

View File

@@ -21,7 +21,7 @@ export default class ProjectJson {
async load() {
// load json from file
this.#json = JSON.parse(await readFile(this.#getPath()))
const matcher = new Matcher('${', '}', __config.operators[this.#operatorName], {
const matcher = new Matcher('~{', '}', __config.operators[this.#operatorName], {
...this.#assets,
backgroundOptions: this.#assets.backgrounds.map((b) => {
return {