Skip to content

Commit

Permalink
fix: allow numbers in technical extension name, fixes #273
Browse files Browse the repository at this point in the history
  • Loading branch information
shyim committed Dec 12, 2023
1 parent c66c9fc commit bde8988
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/extension/extension_admin_watch.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ var (
assetPathRegExp = regexp.MustCompile(`(?m)assetPath:\s.*`)
assetRegExp = regexp.MustCompile(`(?m)(src|href|content)="(https?.*\/bundles.*)"`)

extensionAssetRegExp = regexp.MustCompile(`(?m)/bundles/([a-z-]+)/static/(.*)$`)
extensionEsbuildRegExp = regexp.MustCompile(`(?m)/.shopware-cli/([a-z-]+)/(.*)$`)
extensionAssetRegExp = regexp.MustCompile(`(?m)/bundles/([a-z0-9-]+)/static/(.*)$`)
extensionEsbuildRegExp = regexp.MustCompile(`(?m)/.shopware-cli/([a-z0-9-]+)/(.*)$`)
)

//go:embed static/live-reload.js
Expand Down

0 comments on commit bde8988

Please sign in to comment.