Skip to content

Commit

Permalink
chore: update rollup config.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Apr 6, 2023
1 parent 5a48eeb commit df137ff
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,11 @@ import commonjs from '@rollup/plugin-commonjs';
import terser from '@rollup/plugin-terser';
import json from '@rollup/plugin-json';
import sizes from 'rollup-plugin-sizes';
import banner from 'bannerjs';
import pkg from './package.json' assert { type: "json" };;
import * as banner from 'bannerjs';
import { createRequire } from 'module';

const require = createRequire(import.meta.url);
const pkg = require('./package.json');

export default [
{
Expand Down

0 comments on commit df137ff

Please # to comment.