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 837d8f1 commit ac542c0Copy full SHA for ac542c0
client.js
@@ -14,7 +14,23 @@
14
*/
15
16
(() => {
17
- // eslint-disable-next-line global-require
+ /* eslint-disable global-require */
18
const { run } = require('./lib/client/client');
19
- run(__webpack_hash__, ʎɐɹɔosǝʌɹǝs);
+ let hash = '<unknown>';
20
+ let options;
21
+ try {
22
+ options = ʎɐɹɔosǝʌɹǝs;
23
+ } catch (e) {
24
+ const log = require('./lib/client/log');
25
+ log.error(
26
+ 'The entry for webpack-plugin-serve was included in your build, but it does not appear that the plugin was. Please check your configuration.'
27
+ );
28
+ }
29
+
30
31
+ // eslint-disable-next-line camelcase
32
+ hash = __webpack_hash__;
33
+ } catch (e) {} // eslint-disable-line no-empty
34
35
+ run(hash, options);
36
})();
0 commit comments