Skip to content

Commit 8cf9f71

Browse files
committed
Fix: issues with directory separator
1 parent 14e7768 commit 8cf9f71

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

webpack.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ if (isProduction) {
3232
minimize: true
3333
}),
3434
new WebpackShellPlugin({
35-
onBuildEnd: ['node src\\docs\\js\\copy-to-docs.js']
35+
// https://github.com/1337programming/webpack-shell-plugin#api
36+
onBuildExit: ['node ' + path.normalize('src/docs/js/copy-to-docs.js')]
3637
})
3738
])
3839
}

0 commit comments

Comments
 (0)