Strapi v5 bundler
⚠️ Bundler Compatibility
Note: Headlockr currently supports both the Webpack bundler and the Vite bundler. For any V5 project it's recommended to use the Vite bundler since Webpack is deprecated in Strapi V5 and above.
You can find more about how to setup Headlockr using Vite here.
Legacy Webpack build
If you are using a custom or legacy configuration (e.g. Webpack), make sure your project setup aligns with your Strapi version. You can start your Strapi project with Webpack using the following (legacy) command:
- npm
- Yarn
npm run develop --bundler=webpack
yarn develop --bundler=webpack