diff --git a/packageBuild.ts b/packageBuild.ts index d76ddd8..8ccd857 100644 --- a/packageBuild.ts +++ b/packageBuild.ts @@ -16,7 +16,7 @@ const minimatch = require('minimatch'); const { author, name:packageName, version } = require("./package.json"); // Generate the name of the package, stripping out all non-alphanumeric characters in the 'author' and 'name'. -const modName = `${author.replace(/[^a-z0-9]/gi, "")}-${packageName.replace(/[^a-z0-9]/gi, "")}-${version}`; +const modName = `${author.replace(/[^a-z0-9]/gi, "")}-${packageName.replace(/[^a-z0-9]/gi, "")}`; console.log(`Generated package name: ${modName}`); // Delete the old build directory and compressed package file.