updated 配置及注解调整

This commit is contained in:
mumuy
2022-07-08 08:34:37 +08:00
parent 8e72cbdb88
commit 0bee076ec8
9 changed files with 14 additions and 10 deletions

View File

@@ -4,7 +4,7 @@ const TerserJSPlugin = require('terser-webpack-plugin');
const pkg = require('./package');
var repository = pkg.repository.url.replace(/(.+)(:\/\/.+)\.git$/,'https$2');
var copyright = `${pkg.name} v${pkg.version} - ${pkg.description}
var copyright = `${pkg.officialName} v${pkg.version} - ${pkg.description}
${pkg.homepage}
Copyright (c) 2016-present, ${pkg.author}
@@ -12,6 +12,7 @@ Released under the ${pkg.license} License.
${repository}/`;
module.exports = {
mode: 'production',
entry: './src/relationship.js',
output: {
path: path.resolve(__dirname,'dist'),