Skip to content

Commit cef3d85

Browse files
authored
fix: add link for historyApiFallback options (#3390)
1 parent c0a0228 commit cef3d85

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

lib/options.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,8 @@
394394
"type": "boolean"
395395
},
396396
{
397-
"type": "object"
397+
"type": "object",
398+
"description": "Options for `historyApiFallback`, description available at https://github.com/bripkens/connect-history-api-fallback#options"
398399
}
399400
],
400401
"description": "When using the HTML5 History API, the index.html page will likely have to be served in place of any 404 responses. https://webpack.js.org/configuration/dev-server/#devserverhistoryapifallback"

test/__snapshots__/validate-options.test.js.snap.webpack4

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,8 @@ exports[`options validate should throw an error on the "historyApiFallback" opti
217217
Details:
218218
* configuration.historyApiFallback should be a boolean.
219219
* configuration.historyApiFallback should be an object:
220-
object { … }"
220+
object { … }
221+
-> Options for \`historyApiFallback\`, description available at https://github.com/bripkens/connect-history-api-fallback#options"
221222
`;
222223

223224
exports[`options validate should throw an error on the "host" option with '' value 1`] = `

test/__snapshots__/validate-options.test.js.snap.webpack5

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,8 @@ exports[`options validate should throw an error on the "historyApiFallback" opti
217217
Details:
218218
* configuration.historyApiFallback should be a boolean.
219219
* configuration.historyApiFallback should be an object:
220-
object { … }"
220+
object { … }
221+
-> Options for \`historyApiFallback\`, description available at https://github.com/bripkens/connect-history-api-fallback#options"
221222
`;
222223

223224
exports[`options validate should throw an error on the "host" option with '' value 1`] = `

0 commit comments

Comments
 (0)