MOBILE-3232 filters: Remove unnecessary files from MathJax

main
Pau Ferrer Ocaña 2019-11-26 13:34:43 +01:00
parent 5eecdb8c36
commit 0d64207484
1 changed files with 22 additions and 2 deletions

View File

@ -13,8 +13,28 @@ module.exports = {
src: ['{{ROOT}}/src/config.json'], src: ['{{ROOT}}/src/config.json'],
dest: '{{WWW}}/' dest: '{{WWW}}/'
}, },
copyMathJax: { copyMathJaxMain: {
src: ['{{ROOT}}/node_modules/mathjax/**/*'], src: ['{{ROOT}}/node_modules/mathjax/*.js'],
dest: '{{WWW}}/lib/mathjax' dest: '{{WWW}}/lib/mathjax'
}, },
copyMathJaxConfig: {
src: ['{{ROOT}}/node_modules/mathjax/config/**/*'],
dest: '{{WWW}}/lib/mathjax/config'
},
copyMathJaxExtensions: {
src: ['{{ROOT}}/node_modules/mathjax/extensions/**/*'],
dest: '{{WWW}}/lib/mathjax/extensions'
},
copyMathJaxFonts: {
src: ['{{ROOT}}/node_modules/mathjax/fonts/**/*'],
dest: '{{WWW}}/lib/mathjax/fonts'
},
copyMathJaxJax: {
src: ['{{ROOT}}/node_modules/mathjax/jax/**/*'],
dest: '{{WWW}}/lib/mathjax/jax'
},
copyMathJaxLocalization: {
src: ['{{ROOT}}/node_modules/mathjax/localization/**/*'],
dest: '{{WWW}}/lib/mathjax/localization'
},
}; };