You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2019/02/28 19:00:22 UTC

[GitHub] williaster commented on a change in pull request #6956: [WIP] Adding custom control overrides

williaster commented on a change in pull request #6956: [WIP] Adding custom control overrides
URL: https://github.com/apache/incubator-superset/pull/6956#discussion_r261337924
 
 

 ##########
 File path: superset/assets/package.json
 ##########
 @@ -206,6 +206,7 @@
     "typescript": "^3.1.3",
     "url-loader": "^1.0.1",
     "webpack": "^4.19.0",
+    "webpack-merge": "^4.2.1",
 
 Review comment:
   this looks great!
   
   this dependency is to enable the merging in the case that a custom `webpack.config.js` exists yeah? since this dep wouldn't actually appear in `incubator-superset` when you search, I'd just want to make sure this isn't removed unintentionally by someone in the future (which would then break our build). To prevent that I'm wondering if we should either:
   
   - move the dependency entirely to our build config (running e.g., `npm install && npm install webpack-merge && npm run build --config=...`), or
   - add a test to ensure that the overriding works, or
   - add an example custom `webpack.config.js` that's always used, that could just export the default one 🤔 (this would also provide an example for others who want to use this functionality)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org