fix: storybook product editor webpack path (#51996)

* fix: storybook product editor webpack path

* Add changefile(s) from automation for the following project(s): woocommerce, woocommerce/client/admin

---------

Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
RJ 2024-10-23 11:04:20 +08:00 committed by GitHub
parent 154689eb44
commit c0ba0a99e0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 1 deletions

View File

@ -0,0 +1,4 @@
Significance: patch
Type: dev
Fixed storybook build

View File

@ -212,7 +212,10 @@ const webpackConfig = {
new CopyWebpackPlugin( { new CopyWebpackPlugin( {
patterns: [ patterns: [
{ {
from: '../../../../packages/js/product-editor/build/blocks', from: path.join(
__dirname,
'../../../../packages/js/product-editor/build/blocks'
),
to: './product-editor/blocks', to: './product-editor/blocks',
}, },
], ],