updated 配置及注解调整
This commit is contained in:
@@ -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'),
|
||||
|
||||
Reference in New Issue
Block a user