Wykks
8821520c2a
fix(@angular/cli): Disable comparisons feature in uglify compression in production
2017-11-29 17:20:42 +00:00
Charles Lyding
aa5656e166
fix(@angular/cli): support minified JS on safari 10
2017-11-27 15:59:24 +00:00
Filipe Silva
fabd4b36b7
fix(@angular/cli): ensure purify is before uglify
2017-11-24 18:52:16 +00:00
Hans Larsen
0773033f9e
fix(@angular/cli): allow build output in outDir outside of project
2017-11-24 18:46:41 +00:00
Mike Brocchi
8c0779f6a3
feat(@angular/cli): Add ability to build AppShell
2017-11-22 22:35:31 -08:00
Job
c636daf6c2
fix(@angular/cli): pass sourceMap to postcss
...
This is required per https://github.com/postcss/postcss-loader#sourcemap
Closes #8588
2017-11-22 14:02:11 -08:00
Charles Lyding
392a3935a7
feat(@angular/cli): support inlining SVG within stylesheets
2017-11-22 12:30:26 -08:00
Cyrille Tuzi
c27c7c948c
fix(@angular/cli): ignore system files in assets
...
Replaces angular/devkit#263
When copying the assets during build, the CLI must not include system files (e.g. `.DS_Store` and `Thumbs.db`).
It is very important for service worker to work : if presents, these files will be included in the service worker manifest as files to cache. But such files may (and should) not be deployed to the server. Then on the client, files will be missing, then the service worker installation will fail and so all the offline feature won't work.
2017-11-20 15:01:24 -08:00
Hans Larsen
64c60313d7
fix(@angular/cli): prevents using assets from outside the project
...
This is a security risk. Think reading things from the home directory.
2017-11-20 09:15:56 -08:00
Hans Larsen
535c85f662
fix(@angular/cli): add a flag to let assets outside of outDir
...
On top of #7778
Fixes #8122
2017-11-20 09:15:56 -08:00
Trotyl
941466aa02
fix(@angular/cli): not use buildOptimizer for JIT in prod
2017-11-20 09:13:55 -08:00
Yaroslav Admin
2607578113
fix(@angular/cli): set correct mainFields for ng test when targeting es2015
...
Added test fails without the fix with the error described in the linked issue.
Fixes #8379
2017-11-20 09:13:02 -08:00
Hans Larsen
def8f6294a
fix(@angular/cli): update postcss loader and URL versions.
2017-11-17 12:46:13 -08:00
Alex Rickabaugh
7b4b2c78d4
feat(@angular/cli): support 5.0.0+ builds of @angular/service-worker
2017-11-06 17:30:38 +00:00
Charles Lyding
00ca690807
refactor(@angular/cli): centralize ES2015 support checks
2017-11-02 16:21:21 -04:00
Filipe Silva
453ff5ceb3
fix(@angular/cli): use JIT by default with ng5
...
Fix #8259
2017-10-31 15:16:22 -07:00
Filipe Silva
9bc9000a59
fix(@angular/cli): add polyfills manually in for ng5 unit tests
2017-10-30 16:09:59 -07:00
Filipe Silva
5f979d7840
fix(@angular/cli): don't search for lazy routes in Angular 5 ng test
...
Fix #8066
2017-10-30 16:09:59 -07:00
Filipe Silva
7d208b73ad
fix(@ngtools/webpack): fix tsconfig parsing and rootfile list
...
Fix #8228
2017-10-30 16:09:59 -07:00
Mike Brocchi
1ba9eaecf5
fix(@angular/cli): Reenable node global
2017-10-30 14:49:33 -07:00
Sarun Intaralawan
082c570b62
fix(@angular/cli): use RxJS ES2015 path alias when targeting ES2015
2017-10-29 11:46:39 -07:00
Hans Larsen
cde02198de
feat(@angular/cli): aot by default
2017-10-25 16:40:00 -07:00
Filipe Silva
a28a967309
fix(@angular/cli): remove typescript dependency
2017-10-25 10:32:57 -07:00
Filipe Silva
0eb25be6ff
fix(@angular/cli): fix broken vendor chunk default
...
Followup to #8077
Fix #8169
2017-10-24 13:54:33 -07:00
Filipe Silva
fd82e1870e
build: update chalk to 2.2
...
`chalk@2.2` is incompatible with `@types/chalk`.
2017-10-24 12:03:55 -07:00
Hans Larsen
7dfb3606d4
fix(@angular/cli): ng test should include test.ts and spec files
2017-10-23 22:08:30 -07:00
Filipe Silva
d9a4f88560
fix(@angular/cli): disable node global
...
The node only `global` object had been left in because it used to cause a build size regression with Angular.
This doesn't seem to be the case anymore so it should be removed because it causes problematic interactions with some libraries.
Fix #5804
Supersedes #7931
2017-10-23 14:57:55 -07:00
Filipe Silva
28e66f352d
fix(@angular/cli): improve rebundling speed
...
Forcing TypeScript to output commonjs modules instead of es2015 modules drastically improves rebuild speeds, especially for AOT.
This PR forces this option on the following modes:
- `ng build --watch --target=development`
- `ng serve --target=development`
- `ng test --code-coverage=false`
Please note that `--target=development` and `--code-coverage=false` are the defaults.
See https://github.com/webpack/webpack/issues/5863 for the webpack issue.
2017-10-20 11:00:51 -07:00
Filipe Silva
d8fcb122e9
fix(@angular/cli): support rxjs 5.5 path alias
...
Blocked by an answer to https://github.com/ReactiveX/rxjs/issues/2979 .
Fix #8096
2017-10-19 14:59:12 -07:00
Filipe Silva
7f6a2f8450
fix(@angular/cli): don't drop resource extentions
...
Fix #8099
2017-10-19 14:50:26 -07:00
Filipe Silva
62c858c39a
fix(@angular/cli): update file-loader and url-loader
...
This should fix errors like the one below for 0.6.0:
```
URL Loader Invalid Options
options['name'] should NOT have additional properties
options.limit should be number
```
2017-10-18 12:26:05 -07:00
Filipe Silva
451f17cc04
fix(@angular/cli): strip decorators with Angular 5+ ( #8077 )
...
We feel build `--build-optimizer` is stable enough to not be experimental anymore.
This PR defaults `build-optimizer` when using Angular 5+ on a production build with `--aot`.
It can still be turned off with `--no-build-optimizer` (or `--build-optimizer=false`).
Fix #8050
2017-10-18 19:49:49 +01:00
Filipe Silva
a8c8ac8edb
fix(@angular/cli): add missing webpack-sources dep
...
`license-webpack-plugin` has a peer dependency on `webpack-sources` that was being satisfied via hoisting.
Fix #8075
2017-10-18 19:01:56 +01:00
Filipe Silva
a9d2b9a172
fix(@ngtools/webpack): rebuild only changed ngfactories
...
This should improve AOT compilation times.
2017-10-15 03:09:21 +01:00
Filipe Silva
d55740d4fa
fix(@angular/cli): support existing tsconfig.spec.json on Angular 5
2017-10-05 13:16:07 -04:00
Filipe Silva
08b284ec62
feat(@angular/cli): use eval-source-map for serve on dev targets
2017-10-05 13:15:30 -04:00
Hans Larsen
aa02086d02
feat(@angular/cli): add a bundle dependencies flag
...
This flag allows people who know what theyre doing to bundle the
server build together with all dependencies. It should only be
used when the whole rendering process is part of the main.ts
or one of its dependencies.
Fixes #7903 .
2017-10-05 09:56:11 -07:00
Filipe Silva
d430abe9e3
feat(@angular/cli): always use new compiler with Angular 5
2017-10-02 12:52:02 -04:00
Filipe Silva
335bd04be4
feat(@angular/cli): support xi18n with Angular 5
2017-09-28 21:12:31 +01:00
Filipe Silva
ecb91bed8f
feat(@ngtools/webpack): add JIT support to AngularCompilerPlugin
2017-09-28 21:12:31 +01:00
Charles Lyding
8f73714a3a
feat(@angular/cli): support subresource integrity validation
2017-09-26 16:27:30 +01:00
Filipe Silva
42d59d5e3b
feat(@angular/cli): propagate --preserve-symlinks on TS options
...
With TypeScript 2.5 supporting the `--preserve-symlinks` option, we should set it on the compiler options when the flag is passed into the CLI (it already works for webpack).
See https://blogs.msdn.microsoft.com/typescript/2017/08/31/announcing-typescript-2-5/#user-content-the---preservesymlinks-compiler-flag for more info.
2017-09-25 18:01:55 +01:00
Garo Yeriazarian
29ec3c0658
feat(@angular/cli): add fallback for CSS variables ( #7770 )
...
Aim to resolve #7514 by including postcss-custom-properties. This will generate extra rules in CSS when a `var()` is used to allow for compatibility with older IE browsers that do not support the feature.
2017-09-25 12:10:09 +01:00
Charles Lyding
206064a399
fix(@angular/cli): ensure asset output is within the output path
2017-09-25 11:43:09 +01:00
Charles Lyding
8ebc37a1fd
fix(@angular/cli): support app option for test command
2017-09-25 10:40:38 +01:00
Charles Lyding
546ac49d93
fix(@angular/cli): only set less-loader paths when present in config
2017-09-20 10:06:25 -04:00
Filipe Silva
939cd6c02d
feat(@ngtools/webpack): add AngularCompilerPlugin
2017-09-13 16:21:16 -07:00
Filipe Silva
dea04b1d57
feat(@angular/cli): support ES2015 target
2017-09-13 12:26:00 -07:00
Filipe Silva
38a7ab47c6
fix(@angular/cli): fix asset watching
...
https://github.com/kevlened/copy-webpack-plugin is now used instead of the custom plugin, it has since implemented the features we needed.
Fix #7521
2017-09-05 21:45:19 +01:00
Dmitriy Shekhovtsov
0111f18b36
fix(@angular/cli): fix test coverage when testing linked libs ( #7447 )
2017-08-20 11:43:03 -07:00