简体   繁体   中英

how to make a custom build for tom-select.js?

Sorry for a newbie question, but I can't figure out how to make a custom build for tom-select.js. In the gruntfile.js I see this: // build tom-select.custom.js /* this file is generated by grunt when calling `npm run build -- --plugins= */

so should I just list the plugins in the command line after npm run build command with --plugins flag? What is the syntax for this? Thanks!

I just found the answer:

create /build/js/tom-select.custom.js

npm run build -- --plugins=remove_button,restore_on_backspace

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM