Skip to content

Commit

Permalink
Merge pull request #4450 from easyops-cn/steve/v3-fix-build-stories
Browse files Browse the repository at this point in the history
fix(): set upward for babel-loader for building stories
  • Loading branch information
weareoutman authored Sep 3, 2024
2 parents cca72f8 + a3a520f commit 4d11b05
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/build-next-bricks/src/buildStories.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ function getBuildStoriesWebpackConfig(packageDir, storiesPath) {
test: /\.ts?$/,
loader: "babel-loader",
exclude: /node_modules/,
options: {
rootMode: "upward",
},
},
{
test: /\.svg$/i,
Expand Down

0 comments on commit 4d11b05

Please sign in to comment.