We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d21bae commit 115709eCopy full SHA for 115709e
1 file changed
packages/generators/init-generator.ts
@@ -109,7 +109,7 @@ export default class InitGenerator extends Generator {
109
if (entryOption.length === 0) {
110
this.usingDefaults = true;
111
} else if (entryOption.length > 0) {
112
- this.usingDefaults = entryOption && entryOption === "'./src/index.js'" ? true : false;
+ this.usingDefaults = entryOption && entryOption === "'./src/index.js'";
113
if (!this.usingDefaults) {
114
this.configuration.config.webpackOptions.entry = `${entryOption}`;
115
}
0 commit comments