Skip to content

Commit

Permalink
Merge 2b53cad into f69bef9
Browse files Browse the repository at this point in the history
  • Loading branch information
thostetler committed May 6, 2021
2 parents f69bef9 + 2b53cad commit fdeaac9
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions grunt/concurrent.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ module.exports = {
'curl:xstate-react',
'curl:array-flat-polyfill',
'curl:sinon',
'curl:polyfill',
],
hash_require: ['hash_require:js', 'hash_require:css'],
};
4 changes: 4 additions & 0 deletions grunt/curl.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,8 @@ module.exports = {
src: 'https://cdnjs.cloudflare.com/ajax/libs/sinon.js/1.9.0/sinon.min.js',
dest: 'src/libs/sinon/index.js',
},
polyfill: {
src: 'https://polyfill.io/v3/polyfill.min.js?features=IntersectionObserver',
dest: 'src/libs/polyfill/index.js',
},
};
1 change: 1 addition & 0 deletions src/config/common.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ define([], function() {
'config/discovery.vars',
'regenerator-runtime',
'array-flat-polyfill',
'polyfill',
], function(config) {
// rca: not sure why the ganalytics is loaded here instead of inside analytics.js
// perhaps it is because it is much/little sooner this way?
Expand Down
1 change: 1 addition & 0 deletions src/config/discovery.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,7 @@ require.config({
xstate: 'libs/xstate/index',
'@xstate/react': 'libs/xstate-react/index',
'array-flat-polyfill': 'libs/polyfills/array-flat-polyfill',
polyfill: 'libs/polyfill/index',
},

hbs: {
Expand Down

0 comments on commit fdeaac9

Please sign in to comment.