summaryrefslogtreecommitdiff
path: root/webpack.common.js (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-11-10Remove the xss library from webpackSheogorath1-6/+0
We can load the xss functions directly from the library instead of loading them through the expose loader of webpack, this should simplify the setup and maybe even improve speed a bit. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-10-19Code style fixes for webpack.common.jsDavid Mehren1-9/+9
Signed-off-by: David Mehren <dmehren1@gmail.com>
2018-10-19Use const instead of var in webpack configs.David Mehren1-6/+6
Signed-off-by: David Mehren <dmehren1@gmail.com>
2018-10-10Remove dead package octiconSheogorath1-6/+3
Octicon no longer provides its CSS classes and this way is useless in CodiMD. Replacing all used classes in the UI and remove it from build system. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-10-10Use webpack-merge.David Mehren1-0/+1
Move html export config to own file. Delete unnecessary config options. Use cheap source maps. Signed-off-by: David Mehren <dmehren1@gmail.com>
2018-10-10Rename Webpack config to official recommendationDavid Mehren1-0/+0
Signed-off-by: David Mehren <dmehren1@gmail.com>
2018-10-05Replace font-awesome with fork-awesomeSheogorath1-4/+4
This patch replaces font-awesome with its fork called fork-awesome. Besides the fact that the newer versions of font-awesome can't be shipped with distros like debian due to license issues, fork-awesome also provides more FOSS related icons and builds on top of version 4.7.x of font-awesome, which we used until this patch. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-09-06Upgrade to Webpack 4 - remove baseUrl propertyDavid Mehren1-2/+1
Signed-off-by: David Mehren <dmehren1@gmail.com>
2018-09-06Upgrade to Webpack 4 - fix CSS import orderDavid Mehren1-17/+34
Signed-off-by: David Mehren <dmehren1@gmail.com>
2018-09-06Upgrade to Webpack 4 - first tryDavid Mehren1-99/+121
Signed-off-by: David Mehren <dmehren1@gmail.com>
2018-06-30Update to octicon 4.4.0Sheogorath1-3/+3
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-05-16Removing google drive integrationSheogorath1-4/+0
It's sad but it's not working. For multiple releases this should be already broken which shows how often it's used. As there is also a security issue related to that, it's better to remove the feature completely. Whoever wants to rewrite it, feel free to go. This commit removes the Google Drive integration from HackMD's Frontend editor and this way removes the need to provide any API key and Client ID in the frontend. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-04-16Fix possible file limit errorsSheogorath1-0/+5
As we currently may need higher nofile limits than usual/default on various systems this commit should probide a fix for that an allow to build HackMD without highering these limits and increase security. Inspiration was found in a copy-webpack-plugin-issue[1] and found by @thegcat[2]. Thanks for that! Signed-off-by: Sheogorath <sheogorath@shivering-isles.com> [1]: https://github.com/webpack-contrib/copy-webpack-plugin/issues/59#issuecomment-228563990 [2]: https://github.com/thegcat
2018-03-06Remove engine.io-client dependency and fix webpack configDavid Mehren1-6/+4
Signed-off-by: David Mehren <dmehren1@gmail.com>
2017-11-02Revert "Load js-url lib using legacy-loader"Literallie1-7/+3
Didn't work in Firefox for some reason. `[Script Loader] ReferenceError: module is not defined` This reverts commit 5b83deb043296c23ff912a2472703c1f7faddb4b.
2017-10-22Load js-url lib using legacy-loaderLiterallie1-3/+7
Doesn't use eval, plus no window object access
2017-06-08Fix lodash will be ignored by webpack in pack bundleWu Cheng-Han1-2/+1
2017-05-07Load statusbar template by string-loaderYukai Huang1-0/+3
2017-04-18Use abcjs on cdnjs, cc @jackycutePeter Dave Hello1-3/+0
2017-03-26Add support of abcjsWu Cheng-Han1-1/+8
2017-03-14Update to fix pagination error in list.js over v1.5.0Wu Cheng-Han1-2/+0
2017-03-12Fix webpack copy relative path in #384Yukai Huang1-10/+5
2017-03-12Do not log assets info in webpack buildYukai Huang1-0/+6
2017-03-09Use JavaScript Standard Style (part 2)BoHong Li1-415/+415
Fixed all fail on frontend code.
2017-02-19Only copy needed files in webpackYukai Huang1-5/+22
2017-02-03Update to use babel-polyfill to support ES6 features in old browsersWu Cheng-Han1-0/+8
2017-01-21Revert experimental vue for nowYukai Huang1-7/+1
2016-12-24Fix js-url not import correctlyWu Cheng-Han1-3/+3
2016-12-24Basic setup for Vue appYukai Huang1-1/+7
2016-12-24Install vue and babel dependencyYukai Huang1-0/+4
2016-12-20Fix wrong package name reference in webpack config for bootstrap-validatorWu Cheng-Han1-2/+2
2016-12-12Fix the generate template not including base url variableWu Cheng-Han1-1/+2
2016-12-02Update to support optional email register and signinWu Cheng-Han1-0/+2
2016-11-29Fix incorrect resource arrangement in webpack configWu Cheng-Han1-2/+2
2016-11-29Update webpack and slide resource loading to reduce pack sizeWu Cheng-Han1-1/+6
2016-11-29Fix slide resource path and style load orders to avoid conflictsWu Cheng-Han1-0/+8
2016-11-28Fix webpack config typoWu Cheng-Han1-1/+1
2016-11-28Remove webpack shell plugin for webpack because it've been solved in another wayWu Cheng-Han1-4/+0
2016-11-28Fix missing expose reveal markdown in webpack configWu Cheng-Han1-7/+8
2016-11-28Fix missing slide preview css in webpack configWu Cheng-Han1-2/+4
2016-11-28Update to move custom CodeMirror codebase to our own repo and update webpack ↵Wu Cheng-Han1-12/+15
build config
2016-11-26Optimize slide page resource packing and load orders, fix possible wrong ↵Wu Cheng-Han1-3/+46
chunks orders and font awesome version
2016-11-26Optimize pretty page resource packing and load ordersWu Cheng-Han1-3/+47
2016-11-26Fix some missing resources packing loaders and test regex in webpackWu Cheng-Han1-1/+7
2016-11-26Fix missing chunks for index page in webpack configWu Cheng-Han1-0/+16
2016-11-26Optimize hackmd resource packing and load ordersWu Cheng-Han1-5/+107
2016-11-26Optimize index page resources packing and loadsWu Cheng-Han1-7/+25
2016-11-02Config webpack css hash in productionYukai Huang1-1/+0
2016-10-24Remove select2 from webpack settingsWu Cheng-Han1-2/+0
2016-10-19Try to remove unused front-end dependencyWu Cheng-Han1-7/+7