(#6009) - remove __VERSION__ from script
diff --git a/bin/build-pouchdb.js b/bin/build-pouchdb.js index 20c7580..0a1c104 100644 --- a/bin/build-pouchdb.js +++ b/bin/build-pouchdb.js
@@ -92,10 +92,6 @@ }); } -function addVersion(code) { - return code.replace('__VERSION__', version); -} - // do uglify in a separate process for better perf function doUglify(code, prepend, fileOut) { if (DEV_MODE || TRAVIS) { // skip uglify in "npm run dev" mode and on Travis @@ -176,7 +172,7 @@ console.log(' took ' + ms + ' ms to rollup ' + path.dirname(entry) + '/' + path.basename(entry)); } - return writeFile(addPath(fileOut), addVersion(code)); + return writeFile(addPath(fileOut), code); })); }); }