Skip to content

Commit

Permalink
fix(paths): support for windows paths
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardogobbosouza committed Feb 15, 2019
1 parent 3ca218b commit e1817ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/module.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function routerModule(moduleOptions) {
src: resolve(__dirname, 'plugin.js'),
fileName: 'router.js',
options: {
routerFilePath: relative(this.options.buildDir, routerFilePath).replace(/\/+/g, '/'),
routerFilePath: relative(this.options.buildDir, routerFilePath).replace(/\/\//g, '/'),
keepDefaultRouter: options.keepDefaultRouter
}
})
Expand Down

0 comments on commit e1817ba

Please sign in to comment.