Comments (6)
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.
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.
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.
Any idea when we can expect the upgrade?
Thanks!
from play-ng2-webpack2.
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.
Updated to Angular ^2.4.0 and Angular CLI 1.0.0.rc.1.
from play-ng2-webpack2.
Related Issues (9)
- Running on Windows 10? HOT 11
- normalize_file_names.sh not found HOT 3
- Integrating play-ng2-webpack2 with ionic3 HOT 1
- Update to recent Angular Versions HOT 3
- Play refresh angular content HOT 3
- Lazy loading that webpack require 0.chunk.js is invalid url HOT 2
- Error during ng build: ENOTEMPTY "...\public\ui\" HOT 2
- Runnnig tests HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from play-ng2-webpack2.