mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-29 20:13:46 -05:00
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:
parent
8fb6835f8a
commit
befa4e932e
2 changed files with 6 additions and 2 deletions
|
@ -34,7 +34,8 @@ module.exports = function(grunt) {
|
||||||
mathjax: '/js/libs/mathjax/MathJax.js?config=TeX-AMS_HTML',
|
mathjax: '/js/libs/mathjax/MathJax.js?config=TeX-AMS_HTML',
|
||||||
'pdfjs-dist/build/pdf': `libs/${PackageVersions.lib('pdfjs')}/pdf`,
|
'pdfjs-dist/build/pdf': `libs/${PackageVersions.lib('pdfjs')}/pdf`,
|
||||||
ace: `${PackageVersions.lib('ace')}`,
|
ace: `${PackageVersions.lib('ace')}`,
|
||||||
fineuploader: `libs/${PackageVersions.lib('fineuploader')}`
|
fineuploader: `libs/${PackageVersions.lib('fineuploader')}`,
|
||||||
|
recurly: 'https://js.recurly.com/v4/recurly'
|
||||||
},
|
},
|
||||||
|
|
||||||
skipDirOptimize: true,
|
skipDirOptimize: true,
|
||||||
|
@ -55,6 +56,9 @@ module.exports = function(grunt) {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'ace/worker-latex'
|
name: 'ace/worker-latex'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'main-recurly'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -126,7 +126,7 @@ html(
|
||||||
"fineuploader": "libs/#{lib('fineuploader')}",
|
"fineuploader": "libs/#{lib('fineuploader')}",
|
||||||
"main": "#{buildJsPath('main.js', {hashedPath:settings.useMinifiedJs, removeExtension:true})}",
|
"main": "#{buildJsPath('main.js', {hashedPath:settings.useMinifiedJs, removeExtension:true})}",
|
||||||
"libraries": "#{buildJsPath('libraries.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":{
|
"config":{
|
||||||
"moment":{
|
"moment":{
|
||||||
|
|
Loading…
Reference in a new issue