Skip to content

Commit

Permalink
Merge pull request #1701 from adsabs/release-1.1.140
Browse files Browse the repository at this point in the history
Revert "Lazy loaded widgets (#1665)"
  • Loading branch information
thostetler authored Jan 29, 2019
2 parents 05f842f + cba182c commit 2983758
Show file tree
Hide file tree
Showing 48 changed files with 16,070 additions and 2,368 deletions.
26 changes: 25 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
{
"plugins": [
"transform-react-jsx",
["transform-object-rest-spread", { "useBuiltIns": true }],
"transform-object-assign"
],
"presets": [
"@babel/react"
[
"env",
{
"targets": {
"browsers": [
"last 2 versions",
"ios_saf >= 8",
"not IE <= 10",
"chrome >= 49",
"firefox >= 49",
"> 1%"
]
},
"debug": false,
"loose": true,
"modules": false,
"useBuiltIns": true
}
],
"react"
]
}
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ src/styles/css
.vagrant

src/discovery.vars.js
grunt/requirejs.js
.*
!.babelrc
!.travis.yml
Expand Down
27 changes: 11 additions & 16 deletions grunt/aliases.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,21 +95,16 @@ release:
tasks:
- 'env:prod'
- 'assets'
# - 'clean:release'
# - 'copy:release'
- 'clean:release'
- 'copy:release'
- 'compile-handlebars:index'
- 'exec:git_describe'
- 'optimize-build'
- 'string-replace:final'
# - 'imagemin'
- 'cssmin'
- 'htmlmin'
# - 'string-replace:dist'
# - 'babel:release'
# - 'requirejs:release_concatenated'
# - 'uglify:release'
# - 'requirejs:release_css'
# - 'concurrent:hash_require'
# - 'copy:keep_original'
# - 'copy:bumblebee_app'
# - 'assemble'
- 'string-replace:dist'
- 'babel:release'
- 'requirejs:release_concatenated'
- 'uglify:release'
- 'requirejs:release_css'
- 'concurrent:hash_require'
- 'copy:keep_original'
- 'copy:bumblebee_app'
- 'assemble'
4 changes: 1 addition & 3 deletions grunt/clean.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@
*/
module.exports = {
release: {
src: [
'dist/',
]
src: ['dist/']
},
deploy: {
src: [
Expand Down
3 changes: 2 additions & 1 deletion grunt/copy.js
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,8 @@ module.exports = function (grunt) {
files: [{
expand: true,
src: [
'./src/**'
'./src/**',
'!./src/index.html'
],
dest: 'dist/',
rename: function(dest, src) {
Expand Down
13 changes: 0 additions & 13 deletions grunt/cssmin.js

This file was deleted.

9 changes: 2 additions & 7 deletions grunt/hash_require.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,9 @@ module.exports = {
mapping: 'dist/jsmap.json',
destBasePath: 'dist/',
srcBasePath: 'dist/',
flatten: false,
clean: true,
prepend: true
flatten:false
},
src: [
'dist/*.js',
'dist/js/**/*.js'
]
src: ['dist/js/**/*.js']
},
css: {
options: {
Expand Down
20 changes: 0 additions & 20 deletions grunt/htmlmin.js

This file was deleted.

22 changes: 0 additions & 22 deletions grunt/imagemin.js

This file was deleted.

Loading

0 comments on commit 2983758

Please sign in to comment.