mirror of
https://github.com/ascribe/onion.git
synced 2024-11-13 16:45:05 +01:00
staging with cors without uglify and lang error
This commit is contained in:
parent
a26e8f7813
commit
fbba3f4670
@ -184,8 +184,8 @@ function bundle(watch) {
|
||||
.on('error', notify.onError('Error: <%= error.message %>'))
|
||||
.pipe(gulpif(!argv.production, sourcemaps.write())) // writes .map file
|
||||
.on('error', notify.onError('Error: <%= error.message %>'))
|
||||
.pipe(gulpif(argv.production, uglify()))
|
||||
.on('error', notify.onError('Error: <%= error.message %>'))
|
||||
//.pipe(gulpif(argv.production, uglify()))
|
||||
//.on('error', notify.onError('Error: <%= error.message %>'))
|
||||
.pipe(gulp.dest('./build/js'))
|
||||
.on('error', notify.onError('Error: <%= error.message %>'))
|
||||
.pipe(browserSync.stream())
|
||||
|
@ -106,10 +106,10 @@ var ReactS3FineUploader = React.createClass({
|
||||
isBrowserPreviewCapable: fineUploader.supportedFeatures.imagePreviews
|
||||
}
|
||||
},
|
||||
//cors: {
|
||||
// expected: true,
|
||||
// sendCredentials: true
|
||||
//},
|
||||
cors: {
|
||||
expected: true,
|
||||
sendCredentials: true
|
||||
},
|
||||
chunking: {
|
||||
enabled: true
|
||||
},
|
||||
|
@ -23,7 +23,7 @@ export function getLangText(s, ...args) {
|
||||
}
|
||||
} catch(err) {
|
||||
if(!(s in languages[lang])) {
|
||||
console.error(new Error('Language-string is not in constants file. Add: "' + s + '" to the "' + lang + '" language file.'));
|
||||
//console.error(new Error('Language-string is not in constants file. Add: "' + s + '" to the "' + lang + '" language file.'));
|
||||
} else {
|
||||
console.error(err);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user