mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
webpack compiling for publish menu
This commit is contained in:
parent
a250004036
commit
39d25fdff9
4 changed files with 6 additions and 2 deletions
|
@ -137,7 +137,7 @@ block requirejs
|
||||||
"fineuploader": "libs/#{lib('fineuploader')}",
|
"fineuploader": "libs/#{lib('fineuploader')}",
|
||||||
"ide": "#{buildJsPath('ide.js', {hashedPath:settings.useMinifiedJs, removeExtension:true})}",
|
"ide": "#{buildJsPath('ide.js', {hashedPath:settings.useMinifiedJs, removeExtension:true})}",
|
||||||
"libraries": "#{buildJsPath('libraries.js', {hashedPath:settings.useMinifiedJs, removeExtension:true})}",
|
"libraries": "#{buildJsPath('libraries.js', {hashedPath:settings.useMinifiedJs, removeExtension:true})}",
|
||||||
!{moduleIncludes("editor:script", locals)},
|
!{moduleIncludes("editor:script", locals)}
|
||||||
!{moduleIncludes("publish:script", locals)}
|
!{moduleIncludes("publish:script", locals)}
|
||||||
},
|
},
|
||||||
"waitSeconds": 0,
|
"waitSeconds": 0,
|
||||||
|
|
|
@ -5,5 +5,5 @@ script(type='text/ng-template', id='publishProjectModalTemplate')
|
||||||
data-dismiss="modal"
|
data-dismiss="modal"
|
||||||
ng-click="cancel()"
|
ng-click="cancel()"
|
||||||
) ×
|
) ×
|
||||||
h3 Publish}
|
h3 Publish
|
||||||
.modal-body.modal-body-publish
|
.modal-body.modal-body-publish
|
||||||
|
|
|
@ -38,10 +38,12 @@
|
||||||
"cookie-parser": "1.3.5",
|
"cookie-parser": "1.3.5",
|
||||||
"csurf": "^1.8.3",
|
"csurf": "^1.8.3",
|
||||||
"dateformat": "1.0.4-1.2.3",
|
"dateformat": "1.0.4-1.2.3",
|
||||||
|
"expose-loader": "^0.7.3",
|
||||||
"express": "4.13.0",
|
"express": "4.13.0",
|
||||||
"express-http-proxy": "^1.1.0",
|
"express-http-proxy": "^1.1.0",
|
||||||
"express-session": "^1.14.2",
|
"express-session": "^1.14.2",
|
||||||
"fs-extra": "^4.0.2",
|
"fs-extra": "^4.0.2",
|
||||||
|
"fuse.js": "^3.0.0",
|
||||||
"heapdump": "^0.3.7",
|
"heapdump": "^0.3.7",
|
||||||
"helmet": "^3.8.1",
|
"helmet": "^3.8.1",
|
||||||
"http-proxy": "^1.8.1",
|
"http-proxy": "^1.8.1",
|
||||||
|
@ -96,6 +98,7 @@
|
||||||
"babel-core": "^6.26.0",
|
"babel-core": "^6.26.0",
|
||||||
"babel-loader": "^7.1.2",
|
"babel-loader": "^7.1.2",
|
||||||
"babel-preset-env": "^1.6.1",
|
"babel-preset-env": "^1.6.1",
|
||||||
|
"babel-preset-react": "^6.16.0",
|
||||||
"bunyan": "0.22.1",
|
"bunyan": "0.22.1",
|
||||||
"chai": "3.5.0",
|
"chai": "3.5.0",
|
||||||
"chai-spies": "",
|
"chai-spies": "",
|
||||||
|
|
|
@ -52,6 +52,7 @@ module.exports = {
|
||||||
loader: 'babel-loader',
|
loader: 'babel-loader',
|
||||||
options: {
|
options: {
|
||||||
presets: [
|
presets: [
|
||||||
|
'react',
|
||||||
['env', { modules: false }]
|
['env', { modules: false }]
|
||||||
],
|
],
|
||||||
// Configure babel-loader to cache compiled output so that subsequent
|
// Configure babel-loader to cache compiled output so that subsequent
|
||||||
|
|
Loading…
Reference in a new issue