Fix icons path: use root node_modules in mkYarnPackage layout
mkYarnPackage hoists most dependencies to the root node_modules/, with deps/grafana-pyroscope/node_modules/ containing only package- specific overrides. @grafana/ui lives at ../../node_modules/, not the local node_modules/. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
f727a352c3
commit
10398c715c
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ let
|
|||
# @grafana/ui icons. Pre-copy them to the output location and patch
|
||||
# webpack to skip the CopyPlugin entry for icons.
|
||||
mkdir -p public/build/grafana/build/img
|
||||
cp -rL node_modules/@grafana/ui/dist/public/img/icons \
|
||||
cp -rL ../../node_modules/@grafana/ui/dist/public/img/icons \
|
||||
public/build/grafana/build/img/
|
||||
|
||||
# Remove the CopyPlugin icons entry from webpack config so it doesn't
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue