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

Make the webpack config work for us #11712

Merged
merged 5 commits into from
Jan 9, 2020
Merged

Conversation

turt2live
Copy link
Member

This is against travis/sourcemaps for safety.

Split from #11679

This moves the babel and postcss configs into the webpack config for ease of maintenance (and because we need variations of them). The typescript config is left outside the webpack config for IDEs to pick it up.

Other changes regarding the config should be documented in the diff itself.


This PR and others in the series have their overview covered here: https://gist.github.com/turt2live/a3fc7c9712b8ef0f1f758611aa33382d

This moves the babel and postcss configs into the webpack config for ease of maintenance (and because we need variations of them). The typescript config is left outside the webpack config for IDEs to pick it up.
@turt2live turt2live requested a review from a team December 24, 2019 02:53
@turt2live
Copy link
Member Author

turt2live commented Dec 24, 2019

Build failures at this point are expected - they'll be fixed in a future PR before going to develop.

tsconfig.json Show resolved Hide resolved
webpack.config.js Show resolved Hide resolved
webpack.config.js Show resolved Hide resolved
webpack.config.js Outdated Show resolved Hide resolved
webpack.config.js Outdated Show resolved Hide resolved
webpack.config.js Show resolved Hide resolved
webpack.config.js Show resolved Hide resolved
@dbkr
Copy link
Member

dbkr commented Jan 8, 2020

lgtm with those 2 comments and ideally whittling down the extensions list a little.

@turt2live turt2live requested a review from dbkr January 8, 2020 22:11
For reasons described within this diff.
Copy link
Member

@dbkr dbkr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks - this will almost certainly lead to a less confused me in 2 months time, if nobody else :)

@turt2live turt2live merged commit 929096b into travis/sourcemaps Jan 9, 2020
@turt2live turt2live deleted the travis/babel7-wp-wp branch January 9, 2020 20:33
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

Successfully merging this pull request may close these issues.

2 participants