Sfoglia il codice sorgente

Fix comment path slashes

Garrett Johnson 6 anni fa
parent
commit
9885fce1e3
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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