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 71e4888 commit 540f637Copy full SHA for 540f637
index.js
@@ -43,7 +43,7 @@ module.exports = ({negotiateProtocol}) => {
43
let valid = false;
44
if (isPlainObject(config)) {
45
const keys = Object.keys(config);
46
- if (keys.every(key => key === 'extensions' || key === 'rewritePaths' || 'precompile')) {
+ if (keys.every(key => key === 'extensions' || key === 'rewritePaths' || key === 'precompile')) {
47
valid =
48
(config.extensions === undefined || isValidExtensions(config.extensions)) &&
49
isValidRewritePaths(config.rewritePaths) &&
0 commit comments