Comments (7)
Angular 6 and Material 6 have been released!
from angular-webpack-starter.
Maybe it would be possible to merge -aot.ts files with their non-aot correspondants? I've read about it, but haven't been successful removing them from an old setup.
E.g. this starter: https://github.com/wizardnet972/universal-seed does AOT compilation without those -aot.ts files.
from angular-webpack-starter.
I haven't looked into it yet, but will start looking into it soon
from angular-webpack-starter.
@Justus-Maier @ElderJames It took me a while since I've been very busy, but I've updated Angular and Webpack. Just let me know if there are any issues.
from angular-webpack-starter.
Nice work! I will try it this week! :)
from angular-webpack-starter.
got this when trying to run e2e tests:
E/launcher - Error: TSError: ⨯ Unable to compile TypeScript
e2e\app.e2e.ts (12,29): Argument of type 'string' is not assignable to parameter of type 'Expected<Promise<string>>'. (2345)
at getOutput (C:\Projects\my-awesome-site\node_modules\ts-node\src\index.ts:330:15)
at Object.compile (C:\Projects\my-awesome-site\node_modules\ts-node\src\index.ts:518:11)
at Module.m._compile (C:\Projects\my-awesome-site\node_modules\ts-node\src\index.ts:403:43)
at Module._extensions..js (module.js:660:10)
at Object.require.extensions.(anonymous function) [as .ts] (C:\Projects\my-awesome-site\node_modules\ts-node\src\index.ts:406:12)
at Module.load (module.js:561:32)
at tryModuleLoad (module.js:501:12)
at Function.Module._load (module.js:493:3)
at Module.require (module.js:593:17)
at require (internal/module.js:11:18)
[19:22:59] E/launcher - Process exited with error code 100
And there is still a server.aot.ts with "broken import" (vscode), and the sibling server.ts with an unused import. Can you merge those?
Related Question: What about a minimal-universal variant, that builds and deploys to github pages?
There is a lot undocumented npm commands, would be cool if there is one that renders a static website :)
from angular-webpack-starter.
@Phoscur I'll try to look into the tests this week. I haven't really been able to use Universal in my real world apps, so that's why that has been lagging behind. I'll checkout the issues with it, but you can submit a pull request for improvements.
from angular-webpack-starter.
Related Issues (20)
- file is not exists
- Error in universal:AOT build: Cannot find module './ngfactory/app/server.app.module.ngfactory'. HOT 3
- How to add fonts HOT 3
- Can you rename the repository? HOT 2
- warnings when running `yarn` HOT 1
- AOT and platform-browser-dynamic HOT 1
- Is there a simple example that mimics communication between sibling components? HOT 1
- Is this project still active ? HOT 1
- Http(Client)Module has changed
- Typescript source maps HOT 2
- yarn test failing HOT 2
- Ability to skip bundle analysis for CI prod builds HOT 1
- Getting "Cannot find module 'zone.js/dist/zone-node'" when deploying on production server HOT 6
- Can't run tests, at-loader can't find .ts files! HOT 1
- Getting error running Universal out of the box HOT 3
- Can you please add comments to your code. HOT 1
- How to see karma output in debug window? HOT 6
- Issue with npm/Yarn Install HOT 2
- Angular 7 HOT 3
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 angular-webpack-starter.