Commit Graph

10 Commits

Author SHA1 Message Date
assamoi
72dedb6bee Fix webui build process
Use es6 target for typescript
Use proper node modules versions
Remove dll budles plugin: this plugin was a shortcut
to generate vendor bundle + reference it in the bundled app,
but in fact it was forcing the vendor entry point name to "vendor"
when it should have been the same as the name defined in
the bundle-manifest.json: vendor_lib.
Hence the 'vendor_lib' not defined.

So make it work, do:

> npm install
> npm run build:dev
> npm run server:dev
  (after having put the data dir content in /dist/data)

And it requires at least node 8.0.0

TO-DO: the final js files are a bit under 2M, some minification
might be good to reduce it a bit, but as it's a loaded locally,
it's no big deal.

Part of S913-015

Change-Id: I9c37f86e54adeed938f684f5a8e23646e93c0291
2019-09-18 13:57:26 +02:00
Jeanne Lespinasse
6efaf624ef Revert "WebUI: Fix dist dir path"
This reverts commit 86998236af.

Change-Id: I9ee7a7b43bc8a03f41df83792efe8d3605073148
2019-09-17 17:27:02 +02:00
Lespinasse
86998236af WebUI: Fix dist dir path
Change-Id: Ie8060a3da6dc55206aeff8c4eaa592e9c0f8368e
For: S913-015
2019-09-16 18:46:42 +02:00
Charly Delay
92991a92d2 webui: upgrade Angular 2.4.3
Also upgrade other dependencies such as the latest and greatest Webpack.
Refactor sources to comply to the coding style in order to have a clean
run for tests.

Change-Id: Ic10271c92c4b8c4b7991acfb28670d80b03a1f2b
2017-01-20 09:03:27 -05:00
Charly Delay
30d51b53d5 chore(package): use webpack v2 and angular 2.1.0
Change-Id: Ib7095adc50950da79380f6dbe62a93fb01434cbb
2016-10-25 18:32:39 +02:00
Charly Delay
59007eef0e chore(webui): embrace ng2 styleguide
Change-Id: Ie68ae16f1f1524ad5aa6e0829596ae7fcbfc4889
2016-10-10 16:57:55 +02:00
Charly Delay
a2e3aacdc4 Bump Angular2 framework to version 2.0.0-rc.6
Change-Id: Iae28499322a9c4582aace7b1a0ed2ce6d2d00ea7
2016-09-07 18:51:44 -04:00
Charly Delay
8c8b0d381c chore(webui): replace typings with TypeScript @types
Change-Id: Iebe34d5e3900d411bfd9a2dd37e0675e665f5311
2016-08-10 12:58:26 -04:00
Charly Delay
ad6e6acc35 feat(*): update to Angular RC 4
Change-Id: I327f5c71fce5fa7c35cf024b2423589630f33792
2016-07-06 11:59:19 -04:00
Charly Delay
9e50672262 feat(*): update to Angular RC 3
Change-Id: I2d4ffedf925f646391e36727379199f81ebae138
2016-07-05 22:10:17 -04:00