Merge pull request #2027 from overleaf/ta-build-main-recurly-2

add main-recurly.js to Gruntfile

GitOrigin-RevId: 5527f97394efe6ca3d8c206276c46993547c8edc
This commit is contained in:
Timothée Alby 2019-07-31 12:39:34 +02:00 committed by sharelatex
parent 8fb6835f8a
commit befa4e932e
2 changed files with 6 additions and 2 deletions

View file

@ -34,7 +34,8 @@ module.exports = function(grunt) {
mathjax: '/js/libs/mathjax/MathJax.js?config=TeX-AMS_HTML',
'pdfjs-dist/build/pdf': `libs/${PackageVersions.lib('pdfjs')}/pdf`,
ace: `${PackageVersions.lib('ace')}`,
fineuploader: `libs/${PackageVersions.lib('fineuploader')}`
fineuploader: `libs/${PackageVersions.lib('fineuploader')}`,
recurly: 'https://js.recurly.com/v4/recurly'
},
skipDirOptimize: true,
@ -55,6 +56,9 @@ module.exports = function(grunt) {
},
{
name: 'ace/worker-latex'
},
{
name: 'main-recurly'
}
]
}

View file

@ -126,7 +126,7 @@ html(
"fineuploader": "libs/#{lib('fineuploader')}",
"main": "#{buildJsPath('main.js', {hashedPath:settings.useMinifiedJs, removeExtension:true})}",
"libraries": "#{buildJsPath('libraries.js', {hashedPath:settings.useMinifiedJs, removeExtension:true})}",
"recurly": "https://js.recurly.com/v4/recurly.js"
"recurly": "https://js.recurly.com/v4/recurly"
},
"config":{
"moment":{