Skip to content

Commit

Permalink
fix(react): add bundler to create-nx-workspace react preset so webpac…
Browse files Browse the repository at this point in the history
…k package is installed
  • Loading branch information
jaysoo committed Jan 23, 2023
1 parent c6adec7 commit 6b5f209
Show file tree
Hide file tree
Showing 3 changed files with 138 additions and 129 deletions.
4 changes: 4 additions & 0 deletions e2e/workspace-create/src/create-nx-workspace.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import {
expectNoTsJestInJestConfig,
getSelectedPackageManager,
packageManagerLockFile,
readJson,
runCreateWorkspace,
uniq,
} from '@nrwl/e2e/utils';
Expand Down Expand Up @@ -126,10 +127,13 @@ describe('create-nx-workspace', () => {
style: 'css',
appName,
packageManager,
bundler: 'webpack',
});

expectNoAngularDevkit();
expectNoTsJestInJestConfig(appName);
const packageJson = readJson('package.json');
expect(packageJson.devDependencies['@nrwl/webpack']).toBeDefined();
});

it('should be able to create an next workspace', () => {
Expand Down
Loading

0 comments on commit 6b5f209

Please sign in to comment.