-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
feature(webpack4) Migrate project to webpack4. Prepare for React 16 #1964
Conversation
"file-loader": "^0.11.2", | ||
"fontgen-loader": "^0.2.1", | ||
"file-loader": "^1.1.11", | ||
"fontgen-loader": "git://github.com/EugeneHlushko/fontgen-loader.git#a26a73843900ca4b518853952b1fc3c816103512", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is valid until DragonsInn/fontgen-loader#42 is merged
package.json
Outdated
"tap-min": "^1.2.1", | ||
"tap-parser": "^6.0.1", | ||
"through2": "^2.0.3", | ||
"url-loader": "^0.5.9", | ||
"webpack": "^3.10.0", | ||
"webpack": "^4.2.0", | ||
"webpack-dev-server": "^2.9.7", | ||
"webpack-merge": "^4.1.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i did not remove webpack-merge
yet just in case, if no objections ill remove it after next update with target branch
antwar.config.js
Outdated
'install-webpack': '/guides/installation', | ||
'why-webpack': '/guides/why-webpack', | ||
} | ||
/************************* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bebraw can you please review if redirects belong here? putting outside of parent breaks on getAllPages
call
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It depends on the version you are using. I dropped direct support for redirects recently. I use redirect-webpack-plugin instead so maybe you want to migrate to that. It's possible to do that even with an older version of Antwar although the new one is nicer (faster etc.).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note that the newest version of Antwar runs on webpack 4.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thats exactly what im doing here, moving to antwar 0.28.3 and to webpack 4, so i will use redirect-webpack-plugin instead, thank you!
new MiniCssExtractPlugin({ | ||
filename: '[chunkhash].css' | ||
}), | ||
new RedirectWebpackPlugin({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bebraw thank you man, works like a charm
@jeremenichelli @montogeek guys can you review this one? LGTM so far |
This is great, now I don't know if we should merge it since @skipjack has been working on a infrastructure change in the @EugeneHlushko can you connect with him about this? I want to make sure that merging this doesn't affect the improvements Greg has done or if you can bring some of this changes to that branch. |
I have been working on |
So I don't think any of these changes will be a huge problem for the
I would say if you all see improvements here and get the build to pass, then feel free to merge. After this though, if the plan is to finish and merge |
This is a shame that there was a branch with changes in this direction, i did look the issues section before starting the work :( Would be a shame to drop it for me:
But yes please decide @montogeek @skipjack |
As a side note to think about, i really would like to see more incremental changes vs big branches. Especially considering such good CI and CD integrations, it would make it easier and more transparent not only for team members but also for the community |
I agree with you on your last point @EugeneHlushko, but to be fair the site had no maintainers at all when Greg started its work on If Greg agrees there are not major issues then we should make sure the site works entirely with these changes, fix the integration issues and merge 🥇 |
@jeremenichelli If you mean
|
@EugeneHlushko This branch have latest |
We are hitting this Travis Security measure: https://docs.travis-ci.com/user/pull-requests#Pull-Requests-and-Security-Restrictions. |
@EugeneHlushko You are a member, Move your branch to this repo :) |
I thought there was a mention of it in #1525, I'll double check and add one now if there's not. Sorry about that.
I understand, I wasn't saying it should be dropped.
Totally agree. I started the I discussed this with @montogeek and @jeremenichelli and it seems like they are interested in pushing it forward since it's fairly close and offers a lot of what we want. We may still port to On a side note, @EugeneHlushko seeing as you've submitted a lot in the last few months, I'd be happy to add you as a contributor to the project. We can also ping @TheLarkInn to add you to the slack channel.
Yeah I thought @montogeek had fixed that in #1963 but it sounds like it may be another issue. I think faster builds will also help us run up avoid hitting Travis limits. |
Nice! no more forks here for me in that case @montogeek 👍 Thank you @skipjack appreciate everything said above! Will join slack when Sean invites |
79cd133
to
bdc698f
Compare
CC @montogeek @jeremenichelli i've just rebased it and resolved conflicts |
@montogeek there is another conflict now, does it worth resolving? |
@EugeneHlushko Yes, I can do it |
@montogeek i can resolve too np 👍 just wanted to check if we are merging this soon because last one was resolved yesterday :) |
bdc698f
to
6560978
Compare
@montogeek its good again |
Thank you @EugeneHlushko ! |
Possibly fixes #1924
Unblocks #1967