Skip to content

Commit

Permalink
feat: embed assets in css file using data uri by default
Browse files Browse the repository at this point in the history
BREAKING CHANGE:

`cssUrl` option default value has been changed to `inline`
More info about this option can be found: https://github.com/ng-packagr/ng-packagr/blob/master/docs/embed-assets-css.md
  • Loading branch information
alan-agius4 committed May 19, 2020
1 parent 8524648 commit d2a5731
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion integration/samples/custom/ng-package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"$schema": "../../../src/ng-package.schema.json",
"keepLifecycleScripts": true,
"lib": {
"entryFile": "src/public_api.ts"
"entryFile": "src/public_api.ts",
"cssUrl": "none"
}
}
2 changes: 1 addition & 1 deletion src/ng-package.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"description": "Embed assets in css file using data URIs - see https://css-tricks.com/data-uris",
"type": "string",
"enum": ["none", "inline"],
"default": "none"
"default": "inline"
},
"styleIncludePaths": {
"description": "Any additional paths that should be used to resolve style imports",
Expand Down

0 comments on commit d2a5731

Please sign in to comment.