instead of ignoring the documention javascript support files, just write them without trying to process them

This commit is contained in:
Joshua Sierles 2015-10-14 20:40:16 +02:00
parent d9ee81c127
commit 21a8145fe8
1 changed files with 2 additions and 2 deletions

View File

@ -22,11 +22,11 @@ server.noconvert = true;
// requests.
var queue = Promise.resolve();
glob('src/**/*.*', { ignore: 'src/react-native/js/**/*' }, function(er, files) {
glob('src/**/*.*', function(er, files) {
files.forEach(function(file) {
var targetFile = file.replace(/^src/, 'build');
if (file.match(/\.js$/)) {
if (file.match(/\.js$/) && !file.match(/src\/react-native\/js/)) {
targetFile = targetFile.replace(/\.js$/, '.html');
queue = queue.then(function() {
return new Promise(function(resolve, reject) {