diff --git a/lib/WebpackConfig.js b/lib/WebpackConfig.js index f1bcd244..1d85e00a 100644 --- a/lib/WebpackConfig.js +++ b/lib/WebpackConfig.js @@ -755,7 +755,7 @@ class WebpackConfig { } // Add configured entrypoints - const controllersData = JSON.parse(fs.readFileSync(controllerJsonPath)); + const controllersData = JSON.parse(fs.readFileSync(controllerJsonPath, 'utf8')); const rootDir = path.dirname(path.resolve(controllerJsonPath)); for (let name in controllersData.entrypoints) {