diff --git a/rollup.config.ts b/rollup.config.ts index dbd3b43..fd149a4 100644 --- a/rollup.config.ts +++ b/rollup.config.ts @@ -8,7 +8,7 @@ const pkg = require('./package.json'); const banner = `/*! * ${pkg.name} ${pkg.version} <${pkg.homepage}> - * Copyright (c) ${(new Date()).getFullYear()} ${pkg.author.name} <${pkg.author.url}> + * Copyright (c) 2024-present yorickshan and html2canvas-pro contributors * Released under ${pkg.license} License */`; diff --git a/tests/rollup.config.ts b/tests/rollup.config.ts index 4e14087..12d0545 100644 --- a/tests/rollup.config.ts +++ b/tests/rollup.config.ts @@ -4,12 +4,12 @@ import sourceMaps from 'rollup-plugin-sourcemaps'; import typescript from '@rollup/plugin-typescript'; import json from '@rollup/plugin-json'; import { resolve } from 'path'; - +// eslint-disable-next-line const pkg = require('../package.json'); const banner = `/* - * ${pkg.title} ${pkg.version} <${pkg.homepage}> - * Copyright (c) ${new Date().getFullYear()} ${pkg.author.name} <${pkg.author.url}> + * ${pkg.name} ${pkg.version} <${pkg.homepage}> + * Copyright (c) 2024-present yorickshan and html2canvas-pro contributors * Released under ${pkg.license} License */`;