Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes in webpack/babel config and presets #6

Closed
7 tasks done
swashata opened this issue Oct 10, 2018 · 0 comments
Closed
7 tasks done

Changes in webpack/babel config and presets #6

swashata opened this issue Oct 10, 2018 · 0 comments

Comments

@swashata
Copy link
Owner

swashata commented Oct 10, 2018

  • Don't use object-rest-spread in typescript rule because it is already handled.
  • @wpackio/base should have plugin-proposal-class-properties. Remove the same from typescript rule.
  • Add support for flow.
  • Provide config for .jsx? babel-loader. (jsBabelPresetOptions).
  • Provide config for .tsx? babel-loader. (tsBabelPresetOptions).
  • Option to override .jsx? options. (jsBabelOverride).
  • Option to override .tsx? options. (tsBabelOverride).

To override, users can also pass in {} (empty object) and use local babel.config.js or .babelrc.js.

In the above, rule means what we've defined in webpack.

@swashata swashata changed the title Option to extend babel config Changes in babel config and presets Oct 10, 2018
@swashata swashata changed the title Changes in babel config and presets Changes in webpack/babel config and presets Oct 10, 2018
swashata added a commit that referenced this issue Oct 11, 2018
Support flow, option to override @wpackio/babel-preset-base options,
completely override etc.

See #6
swashata added a commit that referenced this issue Oct 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant