-
Notifications
You must be signed in to change notification settings - Fork 2k
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
upgrade webpack #1402
upgrade webpack #1402
Conversation
Hi and thanks for the PR. I noticed that the node 5 build is failing due to incompatible peer dependencies (babel-loader). My local node@8/npm@5 fails as well... I pushed 2 commits to your branch. It seems that the babel packages need to be upgraded to version 6 and 7 in order to work with webpack 3, so I rebased my babel6-branch on your PR-branch. There are still some problems/questions
The tests still fail: Changing |
Sorry, was a bit busy so I couldn't fix the build on lower versions of node. |
It is strange that some tests are failing... (I have taken a quick look and don't know why tho 😕) I'll try to take a look this week. |
Hmmm, I can't seem to fix it without breaking some tests. |
I see. There are two ways to get around this.
We don't want to break the interface, so option to would be preferable, but 'm not sure that this really works and if this would not break anything too. |
Those things I write here, currently feel like I'm given tips to you (@tdeschryver) with the expectation that you solve that problem. That is not my desire. It's great if you continue working on this. But since this is probably getting bigger than initially expected, I would also like to give more people the opportunity to work on this and try things out. I have pushed a branch |
Oh sorry, didn't see your messages. |
Mabye a combination will work. Using "export default" and "module.exports =" |
The combination doesn't fix the code coverage. |
OK if I let this one open for someone else? It seems like I'm overlooking something. |
Sure, leave it open. Thanks for your efforts so far. |
I've added the help-wanted badge. Maybe this will draw attention by others... |
- Extracted babelPreset as a function, because merging of options in Grunt is shallow by default. - Some changes in the webpack-configuration are still required
Missing: - is the option: "loose: ['es6.modules'] still somehow necessary? - the option "optional: runtime" does not have an equivalent, or does it? The tests still fail: Changing import * as Handlebars from './handlebars' to import Handlebars from './handlebars' in "lib/precompiler.js" seems to fix one problem, but is this change really valid, or is it a BREAKING CHANGE?
44d346e
to
1d6e17f
Compare
@tdeschryver I have rebased your branch onto the current 4.x and force-pushed it. I hope that does not mess up your history. |
closing for now. We will have other attempts some time. |
Closes #1399