You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feature #831 Validator should allow copyFiles() without other entries. (pszalko)
This PR was squashed before being merged into the main branch.
Discussion
----------
Validator should allow copyFiles() without other entries.
Fix for #830
Commits
-------
f6d3cb7 Validator should allow copyFiles() without other entries.
thrownewError('No entries found! You must call addEntry() or addStyleEntry() at least once - otherwise... there is nothing to webpack!');
45
+
if(this.webpackConfig.entries.size===0
46
+
&&this.webpackConfig.styleEntries.size===0
47
+
&&this.webpackConfig.copyFilesConfigs.length===0
48
+
){
49
+
thrownewError('No entries found! You must call addEntry() or addStyleEntry() or copyFiles() at least once - otherwise... there is nothing to webpack!');
0 commit comments