@fgnass/decapp
v1.0.8
Published
Pre-built version of decap-cms-app
Downloads
87
Readme
Pre-bundled version of decap-cms-app
- Uses Vite for bundling
- Adds Node polyfills for path and stream
- Uses rehype-dom for smaller bundle size
- Removes evals in @iarna/toml and gray-matter
- Forces newer version of react-scroll-sync to support React 19
- Consolidates loash and lodash-es
- Improves tree shaking by using dynamic imports
Usage
import {
CMS,
registerCoreWidgets,
registerGitGatewayBackend,
registerProxyBackend,
} from "@fgnass/decapp";
async function init() {
await registerCoreWidgets();
await registerGitGatewayBackend();
await registerProxyBackend();
await registerLocale("en");
CMS.init({
//...
});
}
init();