package: migrate to ES modules
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import fs from 'fs';
|
||||
import { projectRoot } from 'lyc/environment';
|
||||
import path from 'path';
|
||||
import { projectRoot } from '../environment/index.js';
|
||||
|
||||
const cpubenchTemplate = fs.readFileSync(path.resolve(projectRoot, 'assets', 'CPUBenchTemplate.ini')).toString('utf-8');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user