Eric Mc Sween
2df7a8eaad
Merge pull request #2032 from overleaf/as-upgrade-webpack
...
Upgrade webpack to v4
GitOrigin-RevId: a92c487fee79c29c5314273bf05439c9dbb0ce4d
2019-08-06 12:34:03 +00:00
Alasdair Smith
659242b457
Merge pull request #1037 from sharelatex/as-decaffeinate
...
Decaffeinate frontend
GitOrigin-RevId: 1c8c53dedecfe55f9936a13408df17b852f996de
2018-11-05 10:19:25 +00:00
Alberto Fernández Capel
a5b608a502
Merge remote-tracking branch 'origin/master' into afc-metrics-spike
2018-05-23 09:38:22 +01:00
Alberto Fernández Capel
1fd923bf27
Add some comments to the webpack config
2018-05-16 13:59:33 +01:00
Alberto Fernández Capel
cc530666ab
Configure handlerbars loader in webpack
...
Needed for the metrics app.
2018-05-16 13:59:33 +01:00
hugh-obrien
d1756436e8
compile react in production mode
2018-05-11 15:34:22 +01:00
hugh-obrien
6c3482f2a1
add reactDOM, fix publish menu configs
2018-04-10 15:59:39 +01:00
hugh-obrien
39d25fdff9
webpack compiling for publish menu
2018-04-10 15:59:30 +01:00
hugh-obrien
a250004036
initial publish modal setup
2018-04-10 15:59:24 +01:00
Alasdair Smith
7520174288
Silently exit webpack process if no entry points are found in src or modules
...
This better supports the community edition which currently has no code or
modules that match and throws an error.
2018-03-27 12:30:40 +01:00
Alasdair Smith
74099440f3
Generate webpack entry points including modules
2018-03-23 12:37:16 +00:00
Alasdair Smith
7e990dc67e
Use global var for underscore
...
This is simpler than extracting as an external, though less explicit, as
getting webpack & AMD to play nice is hard
2018-03-15 09:42:26 +00:00
Alasdair Smith
2453e55ebb
Remove eslint loader
...
After using the webpack set up a bit more, having linting block compiles in
dev is more annoying than helpful. Linting pre commit is more valuable
2018-03-06 11:18:40 +00:00
Alasdair Smith
ec5b31663f
Configure babel to not compile ES6 imports/exports
...
Webpack can automatically handle the transpilation of ES6 imports to ES5. It
can also better optimize transpilation as raw ES6 imports can be tree-shaken
better.
2018-03-02 10:41:58 +00:00
Alasdair Smith
61a60c04a6
Webpack uses eslint on compile
2018-02-23 11:25:01 +00:00
Alasdair Smith
f5b6d3ff3e
Load basic CM instance with dummy content
2018-02-09 10:38:51 +00:00
Alasdair Smith
984ecae200
Rename directory to es to align with coffee dir
2018-01-15 16:23:10 +00:00
Alasdair Smith
dadd74e730
Move public path to dev config
2018-01-15 16:23:10 +00:00
Alasdair Smith
49c27c4c7a
Port webpack config from OL
2018-01-15 16:23:10 +00:00