mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-08 16:50:44 +02:00
Fix minification process
This commit is contained in:
@@ -165,7 +165,7 @@ module.exports = (grunt) ->
|
||||
grunt.registerTask 'wrap_sharejs', 'Wrap the compiled ShareJS code for AMD module loading', () ->
|
||||
content = fs.readFileSync "public/js/libs/sharejs.js"
|
||||
fs.writeFileSync "public/js/libs/sharejs.js", """
|
||||
define(["ace/range"], function() {
|
||||
define(["ace/ace"], function() {
|
||||
#{content}
|
||||
return window.sharejs;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user