Skip to content

Commit a0ad696

Browse files
committed
Make rollup.config.js more Windows-compatible
Issue ProseMirror/prosemirror#1108
1 parent 9477cdf commit a0ad696

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rollup.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ module.exports = {
1010
sourcemap: true
1111
}],
1212
plugins: [require('@rollup/plugin-buble')()],
13-
external(id) { return !/^[\.\/]/.test(id) }
13+
external(id) { return id[0] != "." && !require("path").isAbsolute(id) }
1414
}

0 commit comments

Comments
 (0)