changed build settings
This commit is contained in:
parent
8ae3b3b39f
commit
68a1335da8
@ -16,7 +16,7 @@ const minimatch = require('minimatch');
|
|||||||
const { author, name:packageName, version } = require("./package.json");
|
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'.
|
// 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}`);
|
console.log(`Generated package name: ${modName}`);
|
||||||
|
|
||||||
// Delete the old build directory and compressed package file.
|
// Delete the old build directory and compressed package file.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user