Skip to content

Commit 0ec69ed

Browse files
committed
dist/development: neo-config.json files should not get minified #2162
1 parent 04b86a6 commit 0ec69ed

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

buildScripts/webpack/development/webpack.config.appworker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ module.exports = env => {
7272
workerBasePath: workerBasePath
7373
});
7474

75-
fs.writeFileSync(outputPath, JSON.stringify(content));
75+
fs.writeFileSync(outputPath, JSON.stringify(content, null, 4));
7676

7777
// index.html
7878
inputPath = path.resolve(cwd, folder, lAppName, 'index.html');

buildScripts/webpack/development/webpack.config.myapps.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ module.exports = env => {
7676
workerBasePath: workerBasePath
7777
});
7878

79-
fs.writeFileSync(outputPath, JSON.stringify(content, 4));
79+
fs.writeFileSync(outputPath, JSON.stringify(content, null, 4));
8080

8181
// index.html
8282
inputPath = path.resolve(cwd, 'apps', lAppName, 'index.html');

0 commit comments

Comments
 (0)