fix(core): Migrate file I/O to @push.rocks/smartfs, adopt TC39 decorators v3 accessor in web components, and update docs/tests
This commit is contained in:
@@ -6,7 +6,9 @@ export const packageDir = plugins.path.join(
|
||||
);
|
||||
|
||||
export const nogitDir = plugins.path.join(packageDir, '.nogit/');
|
||||
plugins.smartfile.fs.ensureDirSync(nogitDir);
|
||||
if (!(await plugins.smartfs.directory(nogitDir).exists())) {
|
||||
await plugins.smartfs.directory(nogitDir).create();
|
||||
}
|
||||
|
||||
export const bundleDir = plugins.path.join(packageDir, './dist_bundle');
|
||||
export const bundleFile = plugins.path.join(bundleDir, './bundle.js');
|
||||
|
||||
Reference in New Issue
Block a user