Skip to content

Commit 347dad2

Browse files
committed
chore(changing syntax): changing syntax
1 parent 2d9e3ff commit 347dad2

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

packages/core/release.config.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
/* eslint-disable no-template-curly-in-string */
22

3-
import { name } from './package.json' with { type: 'json' };
4-
import { name as libraryFolderName } from './project.json' with { type: 'json' };
3+
import packageJson from './package.json' with { type: 'json' };
4+
import projectJson from './project.json' with { type: 'json' };
5+
6+
const name = packageJson.name;
7+
const libraryFolderName = projectJson.name;
58

69
const srcRoot = `packages/${libraryFolderName}`;
710

0 commit comments

Comments
 (0)