diff --git a/plugins/woocommerce/changelog/51996-fix-storybook-after-admin-merge b/plugins/woocommerce/changelog/51996-fix-storybook-after-admin-merge new file mode 100644 index 00000000000..f029b1f2503 --- /dev/null +++ b/plugins/woocommerce/changelog/51996-fix-storybook-after-admin-merge @@ -0,0 +1,4 @@ +Significance: patch +Type: dev + +Fixed storybook build \ No newline at end of file diff --git a/plugins/woocommerce/client/admin/webpack.config.js b/plugins/woocommerce/client/admin/webpack.config.js index 293b427552c..ee065238f94 100644 --- a/plugins/woocommerce/client/admin/webpack.config.js +++ b/plugins/woocommerce/client/admin/webpack.config.js @@ -212,7 +212,10 @@ const webpackConfig = { new CopyWebpackPlugin( { patterns: [ { - from: '../../../../packages/js/product-editor/build/blocks', + from: path.join( + __dirname, + '../../../../packages/js/product-editor/build/blocks' + ), to: './product-editor/blocks', }, ],