我不知道如何为tom-select.js进行自定义构建。在gruntfile.jsI see this:
// build tom-select.custom.js
/* this file is generated by grunt when calling `npm run build -- --plugins=<plugins> */
那么我应该在带有--plugins
标志的npm run build
命令之后的命令行中列出插件吗?这是什么语法?谢谢
我刚刚找到了答案:
create/build/js/tom-select.custom.js
npm运行build---plugins=remove_button,restore_on_backspace