Skip to content

Commit

Permalink
feat(build): Smaller bundles using esnext and minimal assets
Browse files Browse the repository at this point in the history
  • Loading branch information
mrmeku committed Jul 16, 2019
1 parent 4bdfcf1 commit 7636a88
Show file tree
Hide file tree
Showing 49 changed files with 1,520 additions and 716 deletions.
16 changes: 8 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ version: 2
defaults: &defaults
working_directory: ~/repo
docker:
- image: circleci/node:12.2.0-stretch-browsers
- image: circleci/node:12.6.0-stretch-browsers

jobs:
build:
Expand All @@ -16,13 +16,13 @@ jobs:
- checkout
- restore_cache:
keys:
- yarn-dependencies-12.2.0-{{ .Branch }}-{{ checksum "yarn.lock" }}
- yarn-dependencies-12.2.0-{{ .Branch }}-
- yarn-dependencies-12.6.0-{{ .Branch }}-{{ checksum "yarn.lock" }}
- yarn-dependencies-12.6.0-{{ .Branch }}-
# fallback to using the latest cache if no exact match is found
- yarn-dependencies-12.2.0-
- yarn-dependencies-12.6.0-
- run: yarn install --frozen-lockfile --non-interactive
- save_cache:
key: yarn-dependencies-12.2.0-{{ .Branch }}-{{ checksum "yarn.lock" }}
key: yarn-dependencies-12.6.0-{{ .Branch }}-{{ checksum "yarn.lock" }}
paths:
- ~/.cache
- run: yarn start format.and.lint.check
Expand All @@ -40,10 +40,10 @@ jobs:
- checkout
- restore_cache:
keys:
- yarn-dependencies-12.2.0-{{ .Branch }}-{{ checksum "yarn.lock" }}
- yarn-dependencies-12.2.0-{{ .Branch }}-
- yarn-dependencies-12.6.0-{{ .Branch }}-{{ checksum "yarn.lock" }}
- yarn-dependencies-12.6.0-{{ .Branch }}-
# fallback to using the latest cache if no exact match is found
- yarn-dependencies-12.2.0-
- yarn-dependencies-12.6.0-
- run: yarn install --frozen-lockfile --non-interactive
- run: yarn start prepare.e2e
- run:
Expand Down
11 changes: 3 additions & 8 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@
},
"configurations": {
"production": {
"externalDependencies": ["vscode", "source-map-explorer"],
"externalDependencies": ["vscode"],
"sourceMap": false,
"optimization": true,
"extractLicenses": true,
Expand Down Expand Up @@ -216,12 +216,7 @@
},
"configurations": {
"production": {
"externalDependencies": [
"electron",
"source-map-explorer",
"tmp",
"node-pty"
],
"externalDependencies": ["electron", "tmp", "node-pty"],
"sourceMap": false,
"optimization": true,
"extractLicenses": true,
Expand Down Expand Up @@ -267,7 +262,7 @@
"optimization": true,
"extractLicenses": true,
"sourceMap": false,
"externalDependencies": ["source-map-explorer", "ij-rpc-client"],
"externalDependencies": ["ij-rpc-client"],
"fileReplacements": [
{
"replace": "apps/intellij/src/environments/environment.ts",
Expand Down
16 changes: 0 additions & 16 deletions apps/angular-console/src/assets/angular_logo.svg

This file was deleted.

4 changes: 0 additions & 4 deletions apps/angular-console/src/assets/baseline-toggle_off-24px.svg

This file was deleted.

File renamed without changes
File renamed without changes
49 changes: 0 additions & 49 deletions apps/angular-console/src/assets/nrwl_background.svg

This file was deleted.

Binary file removed apps/angular-console/src/assets/nrwl_logo.png
Binary file not shown.
Loading

0 comments on commit 7636a88

Please sign in to comment.