Commit 0efe82aa authored by Lukas Eipert's avatar Lukas Eipert

Remove references to moment.js from webpack

This removes the reference to moment.js from our webpack config.
chart.js was the last dependency depending on it.

mermaid now utilizes moment-mini, so we are putting that into the vendor
DLL instead.

pikaday also removed it's dependency in 1.8.0:
https://github.com/Pikaday/Pikaday/releases/tag/1.8.0
parent f180d74b
......@@ -329,9 +329,6 @@ module.exports = {
// automatically configure monaco editor web workers
new MonacoWebpackPlugin(),
// prevent pikaday from including moment.js
new webpack.IgnorePlugin(/moment/, /pikaday/),
// fix legacy jQuery plugins which depend on globals
new webpack.ProvidePlugin({
$: 'jquery',
......
......@@ -38,7 +38,7 @@ module.exports = {
'katex',
'three',
'select2',
'moment',
'moment-mini',
'aws-sdk',
'sanitize-html',
'bootstrap/dist/js/bootstrap.js',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment