diff --git a/packages/omi-cli/template/app/package.json b/packages/omi-cli/template/app/package.json index 39d5613d3..510c2989a 100755 --- a/packages/omi-cli/template/app/package.json +++ b/packages/omi-cli/template/app/package.json @@ -8,8 +8,10 @@ "babel-eslint": "7.2.3", "babel-jest": "20.0.3", "babel-loader": "7.1.2", + "babel-plugin-syntax-dynamic-import": "^6.18.0", "babel-plugin-transform-class-properties": "^6.24.1", "babel-plugin-transform-decorators-legacy": "^1.3.5", + "babel-plugin-transform-function-bind": "^6.22.0", "babel-plugin-transform-object-rest-spread": "^6.26.0", "babel-preset-env": "^1.6.1", "babel-preset-omi": "^0.1.1", @@ -96,7 +98,9 @@ "plugins": [ "transform-class-properties", "transform-decorators-legacy", - "transform-object-rest-spread" + "transform-object-rest-spread", + "syntax-dynamic-import", + "transform-function-bind" ] }, "prettier": {