Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
337bee3272 | |||
709a67fe82 |
@ -1,5 +1,10 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 2025-01-29 - 2.2.4 - fix(mod_assets)
|
||||||
|
Fix logging message in ensureAssetsDir to correctly state when directory is created
|
||||||
|
|
||||||
|
- Corrected logging output in ensureAssetsDir method to indicate directory creation.
|
||||||
|
|
||||||
## 2025-01-29 - 2.2.3 - fix(mod_assets)
|
## 2025-01-29 - 2.2.3 - fix(mod_assets)
|
||||||
Fix issue with asset directory copy
|
Fix issue with asset directory copy
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@git.zone/tsbundle",
|
"name": "@git.zone/tsbundle",
|
||||||
"version": "2.2.3",
|
"version": "2.2.4",
|
||||||
"private": false,
|
"private": false,
|
||||||
"description": "a bundler using rollup for painless bundling of web projects",
|
"description": "a bundler using rollup for painless bundling of web projects",
|
||||||
"main": "dist_ts/index.js",
|
"main": "dist_ts/index.js",
|
||||||
|
@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@git.zone/tsbundle',
|
name: '@git.zone/tsbundle',
|
||||||
version: '2.2.3',
|
version: '2.2.4',
|
||||||
description: 'a bundler using rollup for painless bundling of web projects'
|
description: 'a bundler using rollup for painless bundling of web projects'
|
||||||
}
|
}
|
||||||
|
@ -8,8 +8,8 @@ export class AssetsHandler {
|
|||||||
public async ensureAssetsDir() {
|
public async ensureAssetsDir() {
|
||||||
const assetsDirExists = await plugins.smartfile.fs.isDirectory(this.defaultFromDirPath);
|
const assetsDirExists = await plugins.smartfile.fs.isDirectory(this.defaultFromDirPath);
|
||||||
if (!assetsDirExists) {
|
if (!assetsDirExists) {
|
||||||
console.log(`creating assets directory at ${this.defaultFromDirPath}`);
|
|
||||||
await plugins.smartfile.fs.ensureDir(this.defaultFromDirPath);
|
await plugins.smartfile.fs.ensureDir(this.defaultFromDirPath);
|
||||||
|
console.log(`created assets directory at ${this.defaultFromDirPath}`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user