Commit d35d2b0f authored by Alexander Schwartz's avatar Alexander Schwartz
Browse files

make build complete on Windows due to different path separator

parent 8ec59c14
......@@ -8,7 +8,7 @@ function wrap () {
return {
name: 'rollup-plugin-wrap',
transform (content, id) {
if (id.endsWith('highlightjs-line-numbers.js/src/highlightjs-line-numbers.js')) {
if (id.match(/highlightjs-line-numbers.js[\\/]src[\\/]highlightjs-line-numbers.js$/)) {
content = `export default function init(hljs) {
window.hljs = hljs
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment