This commit is contained in:
+1
-1
@@ -14,7 +14,7 @@ function build() {
|
||||
const mountedFiles = new Set();
|
||||
|
||||
const result = data.replace(mountRegex, (_match, file) => {
|
||||
let fileContent = fs.readFileSync(path.normalize(file), "utf8");
|
||||
let fileContent = fs.readFileSync(file.replace(/\\/g, "/"), "utf8");
|
||||
mountedFiles.add(path.resolve(file));
|
||||
|
||||
const inlinePhpVarRegex = /"<<BUILDER_PHP_VAR\((?<varName>.*?)\)>>"/g;
|
||||
|
||||
Reference in New Issue
Block a user