Skip to content

Commit

Permalink
Parse package.json manually instead of experimental importing
Browse files Browse the repository at this point in the history
  • Loading branch information
murphyne committed Aug 31, 2023
1 parent 7d999e5 commit 0f4d185
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rollup.conf.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import virtual from '@rollup/plugin-virtual';
import pkg from './package.json';
import { readFileSync } from 'fs';

const pkg = JSON.parse(readFileSync(new URL('./package.json', import.meta.url)));

let bannerText = `
// ==UserScript==
Expand Down

0 comments on commit 0f4d185

Please sign in to comment.