Skip to content

Commit

Permalink
fix win
Browse files Browse the repository at this point in the history
  • Loading branch information
liuxingbaoyu committed Oct 20, 2022
1 parent 1ecb53f commit 8abf088
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/rollup-plugin-standalone-internals.js
@@ -1,8 +1,8 @@
import fs from "fs";
import { fileURLToPath } from "url";

const standaloneURL = new URL("../packages/babel-standalone/", import.meta.url);
const inStandalone = path => new URL(path, standaloneURL).pathname;

const inStandalone = path => fileURLToPath(new URL(path, standaloneURL));
const { noopPlugins, unexposedNoopPlugins } = JSON.parse(
fs.readFileSync(new URL("./scripts/pluginConfig.json", standaloneURL), "utf8")
);
Expand Down

0 comments on commit 8abf088

Please sign in to comment.