Replies: 3 comments 4 replies
-
or just see the |
Beta Was this translation helpful? Give feedback.
-
That worked! I would add that detail to your read.me to help others like me. Another question... I would like to have a different frequency value used for certain pages. It looks like I could use the transform option to do this, but am having trouble understanding how it works. the documentation has this:
but i cannot find customLimitedField in your source code anywhere other than in the documentation. Is that just an example of a function that could be created to return a boolean value? should that custom function be added after this?
|
Beta Was this translation helpful? Give feedback.
-
thanks for the clarification - that would also be something else that you could note in your documentation. i was able to get your package to work the way i wanted, though i ran into an issue with the transform function - i wasn't able to import a js file in the next-sitemap.config.js file - i had to put the functions directly in the file. I suggest changing the structure of the next-sitemap.config.js file such that imports are supported unless you know of another way I could do that. You could replace this:
with this:
and then have your code could import the config file and imports could be used within it. |
Beta Was this translation helpful? Give feedback.
-
This package looks good, but I would like to see it work locally before promoting to any other environment. Is there a way I can do that?
Beta Was this translation helpful? Give feedback.
All reactions