hyperbrew / bolt-cep

A lightning-fast boilerplate for building Adobe CEP Extensions in React, Vue, or Svelte built on Vite + TypeScript + Sass
MIT License
315 stars 40 forks source link

Cant't acess .jsx files #108

Closed Octopodo closed 1 year ago

Octopodo commented 1 year ago

I'm trying to integrate mi old .jsx files and I can't figure out how to access them. For test purpouses I've writed a simple index.jsx with just analert("Hello from my custom JSX"). Then edited my cep.config.ts as is in the readme:

panels: [
    {
      mainPath: "./main/index.html",
      name: "main",
      [...]
      scriptPath: "./src/jsx/my-old-scrips/index.jsx",
    },
  ],
  copyAssets:[ "./src/jsx/my-old-scrips/index.jsx"]

My .jsx file is within the indicated path but the alert is not running ,so I imagine I must be doing something wrong.

I would appreciate it if you could tell me how I can use my old scripts properly.