mirror of
https://github.com/ascribe/onion.git
synced 2025-01-03 10:25:08 +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 %>'))
|
.on('error', notify.onError('Error: <%= error.message %>'))
|
||||||
.pipe(gulpif(!argv.production, sourcemaps.write())) // writes .map file
|
.pipe(gulpif(!argv.production, sourcemaps.write())) // writes .map file
|
||||||
.on('error', notify.onError('Error: <%= error.message %>'))
|
.on('error', notify.onError('Error: <%= error.message %>'))
|
||||||
.pipe(gulpif(argv.production, uglify()))
|
//.pipe(gulpif(argv.production, uglify()))
|
||||||
.on('error', notify.onError('Error: <%= error.message %>'))
|
//.on('error', notify.onError('Error: <%= error.message %>'))
|
||||||
.pipe(gulp.dest('./build/js'))
|
.pipe(gulp.dest('./build/js'))
|
||||||
.on('error', notify.onError('Error: <%= error.message %>'))
|
.on('error', notify.onError('Error: <%= error.message %>'))
|
||||||
.pipe(browserSync.stream())
|
.pipe(browserSync.stream())
|
||||||
|
@ -106,10 +106,10 @@ var ReactS3FineUploader = React.createClass({
|
|||||||
isBrowserPreviewCapable: fineUploader.supportedFeatures.imagePreviews
|
isBrowserPreviewCapable: fineUploader.supportedFeatures.imagePreviews
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
//cors: {
|
cors: {
|
||||||
// expected: true,
|
expected: true,
|
||||||
// sendCredentials: true
|
sendCredentials: true
|
||||||
//},
|
},
|
||||||
chunking: {
|
chunking: {
|
||||||
enabled: true
|
enabled: true
|
||||||
},
|
},
|
||||||
|
@ -23,7 +23,7 @@ export function getLangText(s, ...args) {
|
|||||||
}
|
}
|
||||||
} catch(err) {
|
} catch(err) {
|
||||||
if(!(s in languages[lang])) {
|
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 {
|
} else {
|
||||||
console.error(err);
|
console.error(err);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user