Browse Source

Fix comment path slashes

Garrett Johnson 6 years ago
parent
commit
9885fce1e3
1 changed files with 1 additions and 1 deletions
  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