Skip to content

Commit

Permalink
chore(web): deprecate @webcomponents/custom-elements (nrwl#3930)
Browse files Browse the repository at this point in the history
Since `@webcomponents/custom-elements` is deprecated, here is suggested alternative: `@ungap/custom-elements`
  • Loading branch information
n0mer authored and tinesoft committed Nov 1, 2020
1 parent 2f4e00c commit 10f11d9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/workspace/src/schematics/preset/preset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,11 @@ function createPreset(options: Schema): Rule {
addDepsToPackageJson(
{},
{
'@webcomponents/custom-elements': '1.3.2',
'@ungap/custom-elements': '0.1.6',
}
),
addPolyfills(`apps/${toFileName(options.name)}/src/polyfills.ts`, [
'@webcomponents/custom-elements/custom-elements.min',
'@webcomponents/custom-elements/src/native-shim',
'@ungap/custom-elements',
]),
setDefaultCollection('@nrwl/web'),
]);
Expand Down

0 comments on commit 10f11d9

Please sign in to comment.