-
Notifications
You must be signed in to change notification settings - Fork 86
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
[WIP] Transform code to es6 #3797
Conversation
Fix the minDate and maxDate initialization in the datepicker option object
Fix rules operator translation
Translate the disclaimer
karma-conf.js
Outdated
@@ -7,7 +7,6 @@ var isDebug = process.argv.some(function(argument) { | |||
}); | |||
|
|||
module.exports = function(config) { | |||
var closureLibPath = 'node_modules/google-closure-library/'; |
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 will be replace by the webpack version ...
10d61e3
to
a4357c0
Compare
Better 'no result' display in search
Add missing double support
That's because of this kind of PR that Github statistics are so useless 😅 |
+12,023 −22,632 |
0db6d89
to
6a7b81f
Compare
64bcbea
to
17df57f
Compare
Use jQuery to synchronize rotation inputs
f0baed1
to
01d521d
Compare
Makefile
Outdated
@@ -274,6 +276,15 @@ examples-hosted: \ | |||
examples-hosted-gmf \ | |||
examples-hosted-apps | |||
|
|||
.build/examples-hosted/%: .build/node_modules.timestamp $(FONTAWESOME_WEBFONT) $(ANGULAR_LOCALES_FILES) | |||
NODE_ENV=dev TARGET=ngeo-examples node_modules/.bin/webpack --progress |
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 will run webpack for each examples ...
package.json
Outdated
@@ -103,6 +103,7 @@ | |||
"walk": "2.3.13", | |||
"webpack": "4.6.0", | |||
"webpack-cli": "2.0.15", | |||
"webpack-dev-server": "^3.1.3", |
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.
Don't use ^
Keep output path for hosted examples
Use a timestamp to track when a build has been done. Depend on all example files to trigger a new build on any change.
Without this comment, the rule is like ignored.
For unknown reason, OpenLayers needs rbush which needs quickselect which is not found by webpack without adding it to our package.json.
This reverts commit db84b85.
They work locally on the dev machine. They fail in Travis at some point. These Travis issues should not block the migration.
The gmf apps are not yet migrated to webpack
7290332
to
dcd77e3
Compare
Simplification of Transform code to es6 #3797
This PR is about moving the code base to ES6 modules and switching to a webpack buildchain.
The Google Closure Compiler buildchain is abandonned (at least for now).