Skip to content

Commit b576ce4

Browse files
committed
development/webpack.config.appworker: include the docs app into the build #2173
1 parent 48a51c9 commit b576ce4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ module.exports = env => {
4545
const createStartingPoint = (key, folder) => {
4646
let basePath = '',
4747
workerBasePath = '',
48-
treeLevel = key.replace('.', '/').split('/').length + 3,
48+
treeLevel = key.replace('.', '/').split('/').length + (key === 'Docs' ? 2 : 3),
4949
i, lAppName;
5050

5151
for (i=0; i < treeLevel; i++) {
@@ -103,7 +103,7 @@ module.exports = env => {
103103

104104
if (config.apps) {
105105
config.apps.forEach(key => {
106-
createStartingPoint(key, 'apps');
106+
createStartingPoint(key, key === 'Docs' ? '' : 'apps');
107107
});
108108
}
109109

0 commit comments

Comments
 (0)