Import tom-select file directly

can't use "tom-select" anymore, due to a mis-configuration with babel I guess
This commit is contained in:
Jean-Baptiste Bellet
2022-10-10 16:10:33 +02:00
parent db70c47a31
commit 4140e3d153

View File

@@ -1,5 +1,5 @@
import { Controller } from "stimulus";
import TomSelect from "tom-select";
import TomSelect from "tom-select/dist/esm/tom-select";
export default class extends Controller {
static values = { options: Object };