aboutsummaryrefslogtreecommitdiffstats
path: root/webpack.config.js
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2020-03-17 20:08:15 +0100
committerGitHub <noreply@github.com>2020-03-17 15:08:15 -0400
commit85fb33a65ffa9d5f0c073a01fcb5a7ef1b7311a4 (patch)
tree336f0d1af2a5ab1180d84f23c1ca58351d69222c /webpack.config.js
parent43c09134a972dc421aa06fb303697671c828cf67 (diff)
downloadgitea-85fb33a65ffa9d5f0c073a01fcb5a7ef1b7311a4.tar.gz
gitea-85fb33a65ffa9d5f0c073a01fcb5a7ef1b7311a4.zip
move jquery-datetimepicker to npm/webpack (#10713)
- update to latest version and move to npm - adapt for api changes and css class rename - add specificity to arc-green rules as dependency css now loads later - use imports-loader to make it load correctly - fix some wrong paths in librejs Co-authored-by: techknowlogick <techknowlogick@gitea.io>
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 4630710609..241b721fae 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -86,6 +86,10 @@ module.exports = {
loader: 'vue-loader',
},
{
+ test: require.resolve('jquery-datetimepicker'),
+ use: 'imports-loader?define=>false,exports=>false',
+ },
+ {
test: /\.js$/,
exclude: /node_modules/,
use: [