Skip to content

Commit

Permalink
chore: upgrade deps
Browse files Browse the repository at this point in the history
  • Loading branch information
gregberge committed Mar 24, 2023
1 parent b67c0ce commit 6695121
Show file tree
Hide file tree
Showing 25 changed files with 16,638 additions and 11,554 deletions.
7 changes: 5 additions & 2 deletions build/rollup.config.js → build/rollup.config.mjs
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
import path from 'path'
import { resolve } from 'node:path'
import { readFileSync } from 'node:fs'
import json from '@rollup/plugin-json'
import dts from 'rollup-plugin-dts'
import esbuild from 'rollup-plugin-esbuild'

// eslint-disable-next-line @typescript-eslint/no-var-requires
const pkg = require(path.resolve(process.cwd(), './package.json'))
const pkg = JSON.parse(
readFileSync(resolve(process.cwd(), './package.json'), 'utf-8'),
)
const name = pkg.main ? pkg.main.replace(/\.js$/, '') : './dist/index'

const bundle = (config) => ({
Expand Down
Loading

0 comments on commit 6695121

Please sign in to comment.