73 Commits

Author SHA1 Message Date
Charles Lyding
991599c0ca test(@angular-devkit/build-webpack): use stable workspace API 2019-06-18 18:25:40 -07:00
Alan Agius
7cc0988d4c fix(@angular-devkit/build-webpack): consider name when deduping emitted files
We need to consider the name when deduping files because a file such as `runtime.js` can be under multiples names because this file is a dependency of multiple entrypoints
2019-04-15 11:03:09 -07:00
Alan Agius
55863a5644 feat(@angular-devkit/build-webpack): include entrypoints in emitted files
Entrypoints might have other files associate with them such as runtime.js, it is is paramount to keep the relation between them especially when this result is needed to generate an index file
2019-04-10 08:34:33 -07:00
Alan Agius
6dac8186f3 fix(@angular-devkit/build-webpack): add dot to file extension in emitted files 2019-04-10 08:34:33 -07:00
Charles Lyding
87b04063dd refactor(@angular-devkit/build-webpack): cleanup architect imports 2019-04-03 16:28:25 +02:00
Charles Lyding
bf0fcf39e0 refactor(@angular-devkit/build-webpack): cleanup stable architect API file names 2019-04-02 04:50:08 -07:00
Charles Lyding
1cca4589d1 refactor(@angular-devkit/build-webpack): remove experimental architect builders 2019-04-02 04:50:08 -07:00
Alan Agius
54a6bee7c5 feat(@angular-devkit/build-webpack): report emitted files
With this change the builder will report the emitted chunks and assets after the compilation, this is needed for deferential loading so that we can build an index from the outputs of multiple builds
2019-03-22 07:11:20 -07:00
Hans Larsen
4bfb29704f refactor(@angular-devkit/build-webpack): rename BuildResult to BuildOutput
Stays consistent across builders. This is the interface of the output provided by the
webpack dev server.
2019-03-13 13:51:22 -07:00
Charles Lyding
54ad086493 fix(@angular-devkit/build-webpack): check server address type before use 2019-03-11 13:46:48 -07:00
Hans Larsen
e6ba05ba64 fix(@angular-devkit/build-webpack): also split on multi modules and spaces
Its not perfect but it will give a better overview of the file and it
is shorter.
2019-03-05 11:14:59 -08:00
Hans Larsen
862571cfd0 test: add tests for build-webpack:webpack-dev-server new builder 2019-02-27 10:11:22 -08:00
Hans Larsen
44900f9d00 test: add tests for build-webpack:webpack new builder 2019-02-27 10:11:22 -08:00
Hans Larsen
06f5624b71 feat(@angular-devkit/build-webpack): add API builder for dev server
It outputs the port and address that it is bound to.
2019-02-27 10:11:22 -08:00
Hans Larsen
318a0a3b99 feat(@angular-devkit/build-webpack): add API builder for webpack
It takes a webpack config path from its options, add the Architect Plugin to it
which reports progress and status to Architect from webpack events.
2019-02-27 10:11:22 -08:00
Hans Larsen
f1edc089ed refactor: remove build-webpack schema.d.ts and use quicktype 2019-02-27 10:11:22 -08:00
Hans Larsen
78f5c287d8 refactor(@angular-devkit/build-angular): clean up some interfaces and schemas
Remove the manually maintained schema.d.ts from the browser builder, and use
the Schema JSON file to generate it. This had a lot of repercussions around
the whole build-angular code base and the different interfaces that were
manually kept.
2019-02-21 16:20:54 -08:00
ManfredSteyer
b2c9e46fa9 feat(@angular-devkit/build-webpack): add factory for creating webpack compiler 2019-01-08 13:49:10 -08:00
Alan Agius
030d5fa06c feat(@angular-devkit/build-webpack): expose DevServerResult in BuildEvent 2019-01-08 13:42:45 -08:00
Charles Lyding
3034019ba9 build: update webpack types 2018-09-26 08:54:33 -04:00
Hans
91e7c3eb96 test: remove unused test directory and remove @ from paths 2018-07-12 09:26:36 -07:00
Filipe Silva
3e3dffba8e fix(@angular-devkit/architect): unsubscribe on timeout in runTargetSpec
This way cleanup logic runs on timeout.

It also simplifies timeout definition for runTargetSpec and Jasmine.
2018-07-05 11:43:11 -04:00
Hans Larsen
44086c60ff build: move devkit repo back to angular-cli 2018-06-05 18:50:06 -07:00