Skip to content

Commit

Permalink
Update json imports
Browse files Browse the repository at this point in the history
  • Loading branch information
shoonia committed Jul 24, 2023
1 parent 1e7f88a commit 45df266
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import { createRequire } from 'node:module';
import babel from '@rollup/plugin-babel';
import { nodeResolve } from '@rollup/plugin-node-resolve';

const pkg = createRequire(import.meta.url)('./package.json');
import pkg from './package.json' assert { type: 'json' };

const extensions = [
'.ts',
Expand Down

0 comments on commit 45df266

Please sign in to comment.