Skip to content

Commit

Permalink
fix(cli): scaffold with [email protected]
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeed committed Apr 16, 2020
1 parent e0c0a30 commit ef6f96a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/cli/lib/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,8 @@ const versions = {
'less-loader': '^5.0.0',
'navaid': '^1.0.0',
'node-sass': '^4.13.0',
'preact': '^8.3.0',
'preact-router': '^2.6.0',
'preact-compat': '^3.18.0',
'preact': '^10.4.0',
'preact-router': '^3.2.0',
'prettier': '^2.0.0',
'react': '^16.5.0',
'react-dom': '^16.5.0',
Expand Down Expand Up @@ -217,7 +216,6 @@ module.exports = function (type, dir, opts) {
if (argv.preset) {
devdeps.push(`@pwa/preset-${argv.preset}`);
(/svelte/.test(argv.preset) ? devdeps : deps).push(argv.preset);
if (argv.preset === 'preact') deps.push('preact-compat');
if (argv.preset === 'react') deps.push('react-dom');
}

Expand Down

0 comments on commit ef6f96a

Please sign in to comment.