diff --git a/rollup.config.js b/rollup.config.js
index <HASH>..<HASH> 100644
--- a/rollup.config.js
+++ b/rollup.config.js
@@ -12,5 +12,5 @@ module.exports = {
     exports: "auto"
   }],
   plugins: [require('@rollup/plugin-buble')()],
-  external(id) { return !/^[\.\/]/.test(id) }
+  external(id) { return id[0] != "." && !require("path").isAbsolute(id) }
 }
Make rollup.config.js more Windows-compatible

Issue prosemirror/prosemirror#<I>