ExtensionEngine / tailor

Content authoring platform
MIT License
31 stars 10 forks source link

Replace Poi with Vite #1071

Closed droguljic closed 1 year ago

droguljic commented 1 year ago

Vite is used as a build tool for the client from now on. Poi and related stuff are removed. The client now hosts the index.html file at the root level. The index.html file is actually treated as a template, i.e. it can contain EJS syntax which will be replaced using the internal plugin with the help of lodash/template. Modeled on Tailor config, the brand config now has a dedicated loader that only supports the .brandrc.js file. This is the only breaking change introduced with this switch.