mirror of
https://github.com/xtr-dev/payload-feature-flags.git
synced 2025-12-10 10:53:24 +00:00
Fix scoped package import for custom view
- Changed component reference from 'payload-feature-flags/views' to '@xtr-dev/payload-feature-flags/views' - This fixes the "Module not found: Can't resolve 'payload-feature-flags/views'" error - Bumped version to 0.0.4 The importMap.js was trying to import without the @xtr-dev scope prefix. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@xtr-dev/payload-feature-flags",
|
"name": "@xtr-dev/payload-feature-flags",
|
||||||
"version": "0.0.3",
|
"version": "0.0.4",
|
||||||
"description": "Feature flags plugin for Payload CMS - manage feature toggles, A/B tests, and gradual rollouts",
|
"description": "Feature flags plugin for Payload CMS - manage feature toggles, A/B tests, and gradual rollouts",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
|||||||
@@ -203,7 +203,7 @@ export const payloadFeatureFlags =
|
|||||||
|
|
||||||
// Add custom feature flags overview view
|
// Add custom feature flags overview view
|
||||||
config.admin.components.views['feature-flags-overview'] = {
|
config.admin.components.views['feature-flags-overview'] = {
|
||||||
Component: 'payload-feature-flags/views#FeatureFlagsView',
|
Component: '@xtr-dev/payload-feature-flags/views#FeatureFlagsView',
|
||||||
path: '/feature-flags-overview',
|
path: '/feature-flags-overview',
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user