@canvacord/assets
Advanced tools
Comparing version 2.0.2 to 2.0.3
@@ -28,3 +28,3 @@ "use strict"; | ||
const name = (_a = file.split(".").shift()) !== null && _a !== void 0 ? _a : file; | ||
this.data[name] = `${this.dir}/${file}`; | ||
this.data[name] = `${this.dir}\\${file}`; | ||
} | ||
@@ -49,4 +49,4 @@ this.loaded = true; | ||
module.exports = { | ||
font: new AssetManager(path_1.default.join(__dirname, "data", "fonts")), | ||
image: new AssetManager(path_1.default.join(__dirname, "data", "images")), | ||
font: new AssetManager(path_1.default.join(__dirname, "..", "data", "fonts")), | ||
image: new AssetManager(path_1.default.join(__dirname, "..", "data", "images")), | ||
utils: { | ||
@@ -53,0 +53,0 @@ AssetManager |
{ | ||
"name": "@canvacord/assets", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "Assets used in Canvacord", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7311250