summaryrefslogtreecommitdiffstats
path: root/webpack.config.js
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2020-11-10 19:16:30 +0000
committerGitHub <noreply@github.com>2020-11-10 14:16:30 -0500
commit13b8c0b7aeac365f0f161467f65c3b9b4e46896a (patch)
treed5a748ae96c42f49a71cc4b9d648097fa88d2459 /webpack.config.js
parent21d496364a5e654ba535d06269f6c6679b5c2d74 (diff)
downloadgitea-13b8c0b7aeac365f0f161467f65c3b9b4e46896a.tar.gz
gitea-13b8c0b7aeac365f0f161467f65c3b9b4e46896a.zip
Switch from SimpleMDE to EasyMDE (#13333)
* Switch from SimpleMDE to EasyMDE Signed-off-by: Andrew Thornton <art27@cantab.net> * use webpack to webpack the easymde css Signed-off-by: Andrew Thornton <art27@cantab.net> * move css to only css Signed-off-by: Andrew Thornton <art27@cantab.net> * move loading codemirror modes and addons back in to footer.tmpl Signed-off-by: Andrew Thornton <art27@cantab.net> * Fix arc-green Signed-off-by: Andrew Thornton <art27@cantab.net> * as per @silverwind * reinstall codemirror Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: Lauris BH <lauris@nix.lv>
Diffstat (limited to 'webpack.config.js')
-rw-r--r--webpack.config.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/webpack.config.js b/webpack.config.js
index 1d6f166333..9211774758 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -57,6 +57,10 @@ module.exports = {
'eventsource.sharedworker': [
resolve(__dirname, 'web_src/js/features/eventsource.sharedworker.js'),
],
+ 'easymde': [
+ resolve(__dirname, 'web_src/js/easymde.js'),
+ resolve(__dirname, 'node_modules/easymde/dist/easymde.min.css'),
+ ],
...themes,
},
devtool: false,