Merge pull request #13175 from MoonE/nodejs-12-compatibility

Allow nodejs 12 to build the examples again
This commit is contained in:
MoonE
2021-12-31 23:00:24 +01:00
committed by GitHub

View File

@@ -329,7 +329,7 @@ export default class ExampleBuilder {
source = this.cloakSource(source, data.cloak);
assets[fileName] = source;
return {
name: sourceConfig.as ?? fileName,
name: sourceConfig.as || fileName,
source: source,
type: ext,
};