Skip to content

Commit

Permalink
use the correct module system
Browse files Browse the repository at this point in the history
  • Loading branch information
nepcore authored Aug 26, 2023
1 parent 559ccbf commit 29ca584
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fix-pkg.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// take package.json from repo root and add wasm-packs output files
// write that back to the wasm-pack output dir to make nodejs based test work
const fs = require('fs')

import fs from 'fs'

const rootPkgFile = fs.readFileSync('package.json', 'utf-8')
const rootPkg = JSON.parse(rootPkgFile)
Expand Down

0 comments on commit 29ca584

Please sign in to comment.