mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-06-16 20:20:19 +02:00
fix: bundle serialize/deserizeli so plugins dont break
This commit is contained in:
@@ -4,8 +4,6 @@ import semver from 'semver';
|
||||
import * as autocomplete from 'autocomplete';
|
||||
// we are using browser colorpicker
|
||||
// import { enable as colorpickerEnable } from '../admin/modules/colorpicker';
|
||||
import 'jquery-deserialize';
|
||||
import 'jquery-serializeobject';
|
||||
import * as api from 'api';
|
||||
import * as alerts from 'alerts';
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
'use strict';
|
||||
|
||||
|
||||
define('settings', ['hooks', 'alerts', 'jquery-deserialize'], function (hooks, alerts) {
|
||||
define('settings', ['hooks', 'alerts'], function (hooks, alerts) {
|
||||
// eslint-disable-next-line prefer-const
|
||||
let Settings;
|
||||
let onReady = [];
|
||||
|
||||
@@ -18,6 +18,8 @@ const JS = module.exports;
|
||||
JS.scripts = {
|
||||
base: [
|
||||
'node_modules/@adactive/bootstrap-tagsinput/src/bootstrap-tagsinput.js',
|
||||
'node_modules/jquery-serializeobject/jquery.serializeObject.js',
|
||||
'node_modules/jquery-deserialize/src/jquery.deserialize.js',
|
||||
'public/vendor/bootbox/wrapper.js',
|
||||
],
|
||||
|
||||
|
||||
Reference in New Issue
Block a user