Skip to content

Commit 4095833

Browse files
committed
fix(Project): 用户配置对象使用了export保留字作为属性,为了兼容性考虑继续支持,但另外提供正确的属性名exports作为以后的推荐配置。
1 parent 2193385 commit 4095833

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/models/Project.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ class Project {
156156
}
157157
});
158158
}
159+
159160
this.config.setExports(exports);
160161
this.config.setCompiler(userConfigObj.modifyWebpackConfig);
161162
this.config.setSync(userConfigObj.sync);

0 commit comments

Comments
 (0)