chore: rename package (again), use display name field

This commit is contained in:
xenticore
2025-05-01 19:02:46 -04:00
parent 5cb8de7f32
commit 5a1c10178e
2 changed files with 4 additions and 3 deletions

View File

@@ -14,7 +14,7 @@ function allReplace(str, obj, quote = true) {
};
const defines = {
EXTENSION_NAME: package.name,
EXTENSION_NAME: package.displayName,
__EXTENSION_NAME: JSON.stringify(package.name),
EXTENSION_AUTHOR: package.author,
EXTENSION_DESCRIPTION: package.description,
@@ -139,7 +139,7 @@ module.exports = [
devtool: false,
output: {
path: path.resolve(__dirname, 'dist/userscript'),
filename: `tf2wikipricing.user.js`
filename: `${package.name}.user.js`
},
resolve: {
extensions: [".ts", ".tsx", ".js", ".json", ".css"]