diff --git a/.storybook/base/base.js b/.storybook/base/base.js index 3fadf4745f..ccbf7de259 100644 --- a/.storybook/base/base.js +++ b/.storybook/base/base.js @@ -69,6 +69,7 @@ module.exports = { AnalyzePlugin && rules.push({ test: /\.tsx?$/, include: [resolve('packages/semi-ui'), resolve('packages/semi-foundation')], + exclude:/node_modules/, use: [ { loader: "babel-loader",