hyperbrew / vite-cep-plugin

A Vite plugin to build Adobe CEP Extension Panels
MIT License
16 stars 16 forks source link

Don't override index.html #13

Closed timhaywood closed 2 years ago

timhaywood commented 2 years ago

Return additional tags rather than a modified html template.

Based on the Vite docs here: https://vitejs.dev/guide/api-plugin.html#transformindexhtml

Also deleted the now unused template file.

fixes #12

justintaylor-dev commented 2 years ago

@timhaywood thanks for getting a start on this!

There are some other items that need to be in place on order for dev and build to work both inside CEP and in the browser.

Branched off and will merge here: https://github.com/hyperbrew/vite-cep-plugin/pull/14

timhaywood commented 2 years ago

Thanks so much! Will check out your changes, the CEP world is still mostly a mystery for me :)

Appreciate your fast response!