浏览代码

Fix comment path slashes

Garrett Johnson 6 年之前
父节点
当前提交
9885fce1e3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      rollup-examples.config.js

+ 1 - 1
rollup-examples.config.js

@@ -43,7 +43,7 @@ function createOutput( file ) {
 
 			banner:
 				'/**\n' +
-				` * Generated from '${ path.relative( '.', inputPath.replace( /\\/, '/' ) ) }'\n` +
+				` * Generated from '${ path.relative( '.', inputPath ).replace( /\\/g, '/' ) }'\n` +
 				' */\n',
 			esModule: false