Skip to content

Commit

Permalink
Rename build:dev to build:ivy, makes more sense
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisameling committed Sep 16, 2020
1 parent 821bc21 commit bbf5b1e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ If you want to help developing this library, please do the following to set up y
- Set up a project that uses `muuri-angular` as a dependency.
- Clone this repo (`muuri-angular`).
- Run `npm install`.
- Run `npm run build:dev`. This will build an Ivy-compatible library that you can use in Angular 9+ projects locally.
- Run `npm run build:ivy`. This will build an Ivy-compatible library that you can use in Angular 9+ projects locally.
- If you're still using Angular 8 or lower in your project, run `npm run build:prod` instead. This will use Angular's legacy View Engine to build the library.
- Run `cd dist/muuri-angular`.
- Run `npm link`.
- In your project, run `npm link muuri-angular`. Your project will now use the local `muuri-angular` code.
- Run `npm run build:dev -- --watch` so that the library gets rebuilt on every code change 😃
- Run `npm run build:ivy -- --watch` so that the library gets rebuilt on every code change 😃
4 changes: 2 additions & 2 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"production": {
"tsConfig": "projects/muuri-angular/tsconfig.lib.prod.json"
},
"development": {
"tsConfig": "projects/muuri-angular/tsconfig.lib.dev.json"
"ivy": {
"tsConfig": "projects/muuri-angular/tsconfig.lib.ivy.json"
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"lint": "ng lint",
"e2e": "ng e2e",
"build:prod": "ng build muuri-angular --prod",
"build:dev": "ng build muuri-angular --configuration=development"
"build:ivy": "ng build muuri-angular --configuration=ivy"
},
"private": true,
"dependencies": {
Expand Down

0 comments on commit bbf5b1e

Please sign in to comment.