Skip to content

Commit 0163182

Browse files
committed
Fix: Support of array as entry point by Webpack config for apps
See #6
1 parent 400c600 commit 0163182

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/webpack/app-base.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ module.exports = function configFactory(ops) {
6060
fs.writeFileSync(buildInfoUrl, JSON.stringify(buildInfo));
6161

6262
/* Entry points normalization. */
63-
const entry = _.isObject(o.entry)
63+
const entry = _.isPlainObject(o.entry)
6464
? _.cloneDeep(o.entry) : { main: o.entry };
6565
if (!entry.polyfills) entry.polyfills = [];
6666
else if (!_.isArray(entry.polyfills)) {

0 commit comments

Comments
 (0)