We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3908563 + 7cefd22 commit 77161b8Copy full SHA for 77161b8
lib/module/plugin.js
@@ -3,7 +3,7 @@ import Auth from './auth'
3
import './middleware'
4
5
// Active chemes
6
-<%= options.uniqueSchemes.map(path =>`import ${'scheme_' + hash(path)} from '${path}'`).join('\n') %>
+<%= options.uniqueSchemes.map(path =>`import ${'scheme_' + hash(path)} from '${path.replace(/\\/g,'/')}'`).join('\n') %>
7
8
export default function (ctx, inject) {
9
// Options
0 commit comments