Skip to content
This repository has been archived by the owner on Oct 24, 2024. It is now read-only.

Commit

Permalink
Mostly working ng-packagr (except need for npm link)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdvorak committed Dec 29, 2017
1 parent 65a0142 commit 2c5bd7a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .angular-cli.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@
"assets",
"favicon.ico"
],
"index": "app/index.html",
"index": "index.html",
"main": "app/main.ts",
"polyfills": "app/polyfills.ts",
"test": "test.ts",
"tsconfig": "tsconfig.app.json",
"testTsconfig": "tsconfig.spec.json",
"prefix": "app",
"styles": [
"styles.css"
"app/styles.css"
],
"scripts": [],
"environmentSource": "app/environments/environment.ts",
Expand Down
5 changes: 4 additions & 1 deletion ng-package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
"dest": "dist/angular-resource-router",
"workingDirectory": ".ng_pkg_build",
"lib": {
"entryFile": "public_api.ts"
"entryFile": "public_api.ts",
"externals": {
"angular-resource-router": "angular-resource-router"
}
}
}
File renamed without changes.
10 changes: 1 addition & 9 deletions src/lib/testing/package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
{
"name": "angular-resource-router/testing",
"ngPackage": {
"$schema": "../../node_modules/ng-packagr/package.schema.json",
"lib": {
"umdModuleIds": {
"angular-resource-router": "angular-resource-router"
}
}
}
"ngPackage": {}
}

0 comments on commit 2c5bd7a

Please sign in to comment.