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

Redesign/update webpack config #104

Open
wants to merge 11 commits into
base: tailwind-redesign
Choose a base branch
from

Conversation

bsutt123
Copy link
Collaborator

@bsutt123 bsutt123 commented Aug 2, 2018

Hey Max! I updated the webpack config to use webpack 4 rather than 3 (they added a lot of sane defaults in that I thought would be cool for us to take advantage of) and made the configuration just a bit more modular.

You can now specify type of build you want from the command line (development or production) and automatically apply base config, anything we put in the mode specific config and apply any presets that the command line specifies.

I also removed some of the old npm modules that we weren't really using (like react) and stopped using babel to load jsx, because it isn't really necessary.

Let me know if you like it. I also double checked and yarn start is still working like a charm. I have no idea how to do the test-pa11y thing but if start and webpack are still working, I can't imagine I broke it too much.

@bsutt123 bsutt123 requested a review from maxx1128 August 2, 2018 01:26
Copy link
Member

@maxx1128 maxx1128 left a comment

Choose a reason for hiding this comment

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

I'm not too familiar with webpack, but this seems good to me. I'd recommend someone with more experience here to also take a look though.

@treznick treznick self-requested a review August 13, 2018 16:58
@maxx1128 maxx1128 force-pushed the tailwind-redesign branch 2 times, most recently from 7ec35be to 0d0ee3c Compare August 13, 2018 18:05
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