-
E.g. in export const EXAMPLE = 'helloworld'; Then in import { EXAMPLE } from './constants';
This variable will not be indexed for search: {EXAMPLE} Is there a seamless way to make this constant value appear in searches without needing to tweak the starter search code? Thanks! Update: should also add that searching for EXAMPLE matches (false positive), and searching for "helloworld" does not match (false negative). |
Beta Was this translation helpful? Give feedback.
Answered by
fuma-nama
Sep 5, 2024
Replies: 1 comment 4 replies
-
No. The easiest way is to create a hidden element with the actual text value. |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
nktnet1
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No. The easiest way is to create a hidden element with the actual text value.