Skip to content

Commit

Permalink
Fix warning about alias plugin file resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
cyderize committed Jun 14, 2024
1 parent 1e466eb commit e85dd71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ import alias from "@rollup/plugin-alias";
import path from "path";
import fs from "fs";

const pkg = JSON.parse(fs.readFileSync('./package.json'));
const pkg = JSON.parse(fs.readFileSync("./package.json"));

const testing = process.env.TEST;
const production = !process.env.ROLLUP_WATCH && !testing;
const minizincInstallDir = process.env.MZN_WASM_DIR || ".";
const minizincInstallDir = path.resolve(process.env.MZN_WASM_DIR || ".");

const browser = (output, src) => ({
input: "src/browser.js",
Expand Down

0 comments on commit e85dd71

Please sign in to comment.