1
0
Fork 0
forked from forgejo/forgejo

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>
This commit is contained in:
silverwind 2020-03-17 20:08:15 +01:00 committed by GitHub
parent 43c09134a9
commit 85fb33a65f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 70 additions and 2665 deletions

View file

@ -85,6 +85,10 @@ module.exports = {
exclude: /node_modules/,
loader: 'vue-loader',
},
{
test: require.resolve('jquery-datetimepicker'),
use: 'imports-loader?define=>false,exports=>false',
},
{
test: /\.js$/,
exclude: /node_modules/,