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

[GAPRINDASHVILI] Backport Webpack related changes #4059

Merged
merged 10 commits into from Jun 6, 2018
Merged

[GAPRINDASHVILI] Backport Webpack related changes #4059

merged 10 commits into from Jun 6, 2018

Conversation

himdel
Copy link
Contributor

@himdel himdel commented Jun 5, 2018

This is a gaprindashvili backport of (parts of):

#2652
#3291
#3312
#3502
#3506
#3527
#3719
#3828
#4058

This should bring gaprindashvili roughly on par with master as far as webpack is concerned, except for:

  • development features like webpack-dev-server and WEBPACK_EXCLUDE_NODE_MODULES were not backported
  • typescript support was unused and changes with ts-loader vs awesome-ts-loader - removed

#3963: this should bring the webpack config up to date, but does not touch the rake tasks - separate PR for that..

himdel added 10 commits June 4, 2018 10:02
---

Fixes

	ERROR in miq_v2v_ui/migration-fb9c22b04d26650200ab.js from UglifyJs
	Unexpected token operator «=», expected punc «,» [/home/himdel/miq_v2v_ui_plugin/node_modules/csv-generate/lib/index.js:69,0][miq_v2v_ui/migration-fb9c22b04d26650200ab.js:155704,30]

when running NODE_ENV=production bin/webpack
not really being used in gaprindashvili, makes the build wiring a bit less complicated
This is a gaprindsahvili version of #3502 + #3527, with a change to make sure all plugins are mentioned in both v2v and ui-classic.

This is to prevent CWD-dependent load failures.
this is a backport of #3828, without the (development) WEBPACK_EXCLUDE_NODE_MODULES support
This is a backport of the change in #2652, with the fix in #3312
But without the "vendor" pack, as that would be only used by v2v anyway.
@himdel
Copy link
Contributor Author

himdel commented Jun 5, 2018

@simaishi this should get us to the point where the webpack config is compatible and should be independent of anything else

But the rest of the changes is still coming in a separate PR to address rake task changes (notably #1849, #1860, #2810, #3538 and #3986)

@himdel himdel mentioned this pull request Jun 5, 2018
27 tasks
@miq-bot
Copy link
Member

miq-bot commented Jun 5, 2018

Checked commits https://github.com/himdel/manageiq-ui-classic/compare/5be1f46be8566337e8239f08a2e451d438289428~...6becf494eda74be8440eecbace517566d4e3c19c with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0
0 files checked, 0 offenses detected
Everything looks fine. ⭐

@skateman
Copy link
Member

skateman commented Jun 5, 2018

I think #4056 is not the one you wanted to link 😉

@himdel
Copy link
Contributor Author

himdel commented Jun 5, 2018

Indeed, #4058 it is, sorry :)

@simaishi simaishi merged commit 8fcfc7e into ManageIQ:gaprindashvili Jun 6, 2018
@simaishi simaishi added this to the Sprint 88 Ending Jun 18, 2018 milestone Jun 6, 2018
@himdel himdel deleted the g-webpack branch June 7, 2018 10:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants