onur_soft_dev
PD🧩 Plasmo Developers
•Created by kookyklavicle on 10/30/2023 in #🔰newbie
Content script nesting
Same issue is a problem for me too. Below plasmo config does not work. if the file name is different then "index.ts" in a nested contents file.
Why is that?
Is there solution for that?
src/contents/poshmark/crosslist.ts
import type { PlasmoCSConfig } from "plasmo"
import { runCrosslistHandler } from "~scripts/poshmark/crosslist-handler"
export const config: PlasmoCSConfig = {
matches: ["https://*.poshmark.com/*create-listing", "https://*.poshmark.ca/*create-listing"]
}
runCrosslistHandler()
4 replies