Skip to content

Commit

Permalink
chore: license info
Browse files Browse the repository at this point in the history
  • Loading branch information
yorickshan committed Jul 22, 2024
1 parent 1f986b6 commit ee445f7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion rollup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/`;

Expand Down
6 changes: 3 additions & 3 deletions tests/rollup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/`;

Expand Down

0 comments on commit ee445f7

Please sign in to comment.