chore: 删除无用代码

This commit is contained in:
力皓 2020-11-09 10:04:35 +08:00
parent 5e6e91b265
commit bfa0f36334
2 changed files with 0 additions and 13 deletions

View File

@ -1,12 +0,0 @@
module.exports = ({ onGetJestConfig, onGetWebpackConfig }) => {
console.log('111111111111xxxxxxxxxxxx')
onGetWebpackConfig((config) => {
console.log('111111111111')
config.browserslist('last 2 versions, Firefox ESR, > 1%, ie >= 9, iOS >= 8, Android >= 4');
});
onGetJestConfig((jestConfig) => {
console.log('11111111111122222222')
return jestConfig;
});
};

View File

@ -540,7 +540,6 @@ function getComponentController(schema: NodeSchema, componentsMap: any) {
constructor(props: any) {
super(props);
console.log('>>> current');
const node = host.currentDocument?.createNode(schema);
this.renderSchema = node?.export(TransformStage.Render) || {};
}