fix(js): change TS standalone preset to generate at the root (#19003)
This commit is contained in:
parent
37a0f7b79f
commit
ce172d8706
@ -163,7 +163,7 @@ async function createPreset(tree: Tree, options: Schema) {
|
||||
const { libraryGenerator } = require('@nx' + '/js');
|
||||
return libraryGenerator(tree, {
|
||||
name: options.name,
|
||||
directory: join('packages', options.name),
|
||||
directory: '.',
|
||||
projectNameAndRootFormat: 'as-provided',
|
||||
bundler: 'tsc',
|
||||
unitTestRunner: 'vitest',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user