How can metabase find the corresponding file name according to the route name and ask for your help

How can metabase find the corresponding file name according to the route name and ask for your help

Hi @xiaoyou2020
I think you’re in the wrong forum - this forum is about Metabase, the analytics software, https://metabase.com/
Otherwise you need to provide much more information and “Diagnostic Info” from Admin > Troubleshooting.

Thank you for your reply. I added a public JS file in the front-end compilation folder of metabase source code (add watermark function to the webpage). Only one JSX file in metabase has introduced the public file, but every web page in metabase can display watermarks. This is why, I hope to get your help!

@xiaoyou2020 I don’t understand what you’re trying to do.

I am secondary development on metabase source code, in which I add a public JS file (the function of adding watermark to the web page). It is expected that the corresponding file of which page should be found to import the public JS file to which page needs to be imported. Now, no matter which file is imported into the public JS file, all pages of metabase will be displayed

@xiaoyou2020 Okay, I still don't know what you're doing, but you probably need to exclude the file from ./webpack.config.js, so it's only included in the bundle you want.

EDIT: There's now an issue open about it:
https://github.com/metabase/metabase/issues/15803 - upvote by adding :+1: to the first post

OK, thank you