LearnNewsExamplesServices
Frontmatter
id596
titlebuildScripts/webpack/* json imports
stateClosed
labels
enhancement
assigneestobiu
createdAtMay 22, 2020, 5:36 PM
updatedAtMay 22, 2020, 5:52 PM
githubUrlhttps://github.com/neomjs/neo/issues/596
authortobiu
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtMay 22, 2020, 5:52 PM

buildScripts/webpack/* json imports

tobiu
tobiu commented on May 22, 2020, 5:36 PM

simplify the import logic to use require() instead of:

JSON.parse(fs.readFileSync(path.resolve(processRoot, 'package.json'), 'utf8'))

tobiu added the enhancement label on May 22, 2020, 5:36 PM
tobiu assigned to @tobiu on May 22, 2020, 5:36 PM
tobiu referenced in commit 9f1a216 - "buildScripts/webpack/* json imports #596" on May 22, 2020, 5:52 PM
tobiu closed this issue on May 22, 2020, 5:52 PM