Charles Lyding
eed5794fdc
fix(@angular/cli): ensure external component styles are optimized
2018-02-15 15:33:47 -05:00
Charles Lyding
f0fe415a4b
refactor(@ngtools/webpack): simplify paths module resolution
2018-02-13 15:33:46 -05:00
Charles Lyding
63044e5e70
fix(@angular/cli): update minimum version of copy-webpack-plugin
2018-02-12 16:12:41 -05:00
Charles Lyding
14b36c97bf
fix(@angular/cli): correct CSS import fallback logic
2018-02-02 09:21:44 -05:00
Charles Lyding
8ac2d15d86
fix(@angular/cli): favor CSS import local files over modules
2018-01-31 16:17:44 +00:00
Charles Lyding
78a180bb39
refactor(@angular/cli): remove unused source-map-loader dependency
2018-01-30 17:56:55 +00:00
Charles Lyding
fc1e08deaa
feat(@angular/cli): hide error/warning build output stacktraces
2018-01-25 15:57:35 +00:00
Bram Gotink
4a8f5bdc65
fix(@angular/cli): Allow service-workers package to be installed in parent node_modules
...
The checks on existence of @angular/service-worker used the node_modules relative to the
project root directly, but those don't exist when using yarn workspaces or lerna. Use
resolve.sync instead, which looks up the tree to parent node_modules folders.
A similar change is required when loading the service worker script from the
@angular/service-worker package. Switch to require.resolve here as well.
Fixes #8300
2018-01-25 15:53:49 +00:00
Charles Lyding
6666aee1cb
fix(@angular/cli): account for project root in asset output path
2018-01-25 13:20:15 +00:00
Charles Lyding
eb102275bd
feat(@angular/cli): optimize stylesheet resource processing
2018-01-25 13:19:45 +00:00
Charles Lyding
62190abfdc
fix(@angular/cli): maintain autoprefixer backward compatibility
2018-01-24 16:37:23 -08:00
Charles Lyding
cfc58a0266
refactor(@angular/cli): simplify module resolution options
2018-01-24 11:52:18 -08:00
Filipe Silva
e654fb2b3f
feat(@angular/cli): use cache for build-optimizer
2018-01-23 09:54:03 -08:00
Filipe Silva
62fac418ee
feat(@angular/cli): use cache in uglifyjs-webpack-plugin
2018-01-23 09:54:03 -08:00
Charles Lyding
9751532236
fix(@angular/cli): only force CommonJS if module kind is ES2015
2018-01-23 09:41:58 -08:00
Mike Brocchi
9c871b003a
feat(@angular/cli): Ability to specify budgets for your apps
...
Closes #7139
2018-01-18 11:34:29 -08:00
Charles Lyding
14b3743599
fix(@angular/cli): normalize asset windows paths
2018-01-18 12:56:22 -05:00
Charles Lyding
a6ce9abecf
fix(@angular/cli): standardize inline/rebase stylesheet behavior
2018-01-18 12:53:46 -05:00
Charles Lyding
aaca7d832e
fix(@angular/cli): correct CSS resource resolving
2018-01-12 15:55:06 -05:00
Charles Lyding
b5bac36bf0
fix(@angular/cli): copy assets with special character paths
2018-01-10 09:49:51 -05:00
Filipe Silva
c53dc67770
fix(@angular/cli): remove postcss-custom-properties
...
We currently use a fallback for CSS custom properties on older browsers. This approach has a few problems:
- does not work if the custom property declaration is not part of the same of the same file that uses it (multiple global stylesheets, component css).
- does not work at all for component CSS in AOT.
@clydin suggested a browserlist based approach for enabling this functionality, but that requires a new feature that we don't have.
Since currently taking advantage of the custom property fallback is flaky even in the best case scenario, and potentially broken in prod (AOT), I think it's better to remove it altogether until we can actually do it right.
Fix #8289
2018-01-09 11:23:33 -05:00
Charles Lyding
f830a8d007
refactor(@angular/cli): use postcss to process CSS imports
2018-01-04 12:10:41 -05:00
Charles Lyding
0b890e451b
fix(@angular/cli): ensure stylesheet relative tilde path conversion
2018-01-04 09:39:09 -05:00
Charles Lyding
9caa7ca0d1
fix(@angular/cli): support inlining stylesheet resource tilde paths
2017-12-21 13:07:39 +00:00
Charles Lyding
6efd5b7746
feat(@angular/cli): optimize stylesheets after full bundling
2017-12-21 13:05:04 +00:00
Charles Lyding
883c022807
feat(@angular/cli): support sourcemaps in injected stylesheets
2017-12-14 11:03:00 -08:00
Charles Lyding
8cea8ffdc2
refactor(@angular/cli): add webpack integrated scripts plugin
2017-12-13 17:09:17 -05:00
Charles Lyding
91f3f5b6fc
fix(@angular/cli): account for root relative URLs in CSS assets
2017-12-13 17:08:18 -05:00
Charles Lyding
c9389361c9
feat(@angular/cli): enable parallel javascript minification
2017-12-07 11:26:01 -05:00
cexbrayat
f9d8c7aefe
fix(@angular/cli): allow RCs and betas for @angular/service-worker
...
It was not possible to use `5.1.0-rc.1` previously,
because of how `semver.satisfies()` works (see https://github.com/npm/node-semver#prerelease-tags ).
This relaxes the check by using `semver.gte()`.
2017-12-04 15:25:15 -05:00
Filipe Silva
ef526759ce
fix(@angular/cli): use a more restrictive workaround for mapbox-gl workaround
...
See https://github.com/angular/angular-cli/pull/7931#issuecomment-348032708
2017-11-30 17:03:13 -08:00
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