Giter Site home page Giter Site logo

Updates about play-ng2-webpack2 HOT 6 OPEN

lbialy avatar lbialy commented on August 20, 2024
Updates

from play-ng2-webpack2.

Comments (6)

lbialy avatar lbialy commented on August 20, 2024

Related issues and tools:

Issues:
webpack/webpack#2899 - webpack - tree shaking with typescript
angular/angular-cli#2901 - angular-cli - tree shaking with webpack2
angular/universal#280 - angular 2 universal - JVM support with J2V8 example

Tools:
https://www.npmjs.com/package/@ngtools/webpack - AoT compilation for WebPack, ng-cli team say they also support css preprocessors out of the box, whether this works with AoTPlugin remains to be found.

I'll be updating this post with more documentation and planned build pipeline arch.

from play-ng2-webpack2.

zcourts avatar zcourts commented on August 20, 2024

Will there be an upgrade path from the current seed to the updated version? I'm starting a new project but if updating will be tricky I could probably wait until the changes are in.

from play-ng2-webpack2.

lbialy avatar lbialy commented on August 20, 2024

Hey, sorry for delay. It won't be trivial due to migration to completely ng-cli based angular app management, but I'll try to provide upgrade path (I have one project using this seed and I will have to upgrade it too). I'll try to deliver on friday or saturday - 6th or 7th of january. You can take a look at these instructions to see the scope of change. Also some of the sbt-related files have to change from what I've seen till now.

from play-ng2-webpack2.

radha89 avatar radha89 commented on August 20, 2024

Any idea when we can expect the upgrade?

Thanks!

from play-ng2-webpack2.

lbialy avatar lbialy commented on August 20, 2024

Updated to newest Angular 2 and Angular-CLI. Build system was refactored to use Angular-CLI only. I don't have precise migration path from old seed to this version - no time sadly :( - but I will try to add it ASAP.

Tree-shaking is still borked and not much progress have been achieved between Webpack and Uglifyjs teams.

Angular-universal on JVM is pretty far from stable for now, SSR with Java/Scala backend is not possible for now.

To do:

  • run on windows and linux (tested on mac only for now), Windows will probably explode :(

from play-ng2-webpack2.

lbialy avatar lbialy commented on August 20, 2024

Updated to Angular ^2.4.0 and Angular CLI 1.0.0.rc.1.

from play-ng2-webpack2.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.