Er ikke sikker på om det vil fungere, men i dag skrives koden slik:
"./components/breadcrumb": { "import": { "default": "./build/es/components/breadcrumb/index.js", "types": "./build/es/components/breadcrumb/index.d.ts" }, "require": { "default": "./build/cjs/components/breadcrumb/index.cjs", "types": "./build/cjs/components/breadcrumb/index.d.cts" } },
Er det mulig å endre til denne varianten?
"./components/autosuggest": { "import": { "types": "./build/es/components/autosuggest/index.d.ts" }, "require": { "types": "./build/cjs/components/autosuggest/index.d.cts" }, "default": "./build/es/components/autosuggest/index.js" },
eller til denne varianten?
"./components/accordion": { "import": "./build/es/components/accordion/index.d.ts", "require": "./build/cjs/components/accordion/index.d.cts", "default": "./build/es/components/accordion/index.js" },
Er ikke sikker på om det vil fungere, men i dag skrives koden slik:
"./components/breadcrumb": { "import": { "default": "./build/es/components/breadcrumb/index.js", "types": "./build/es/components/breadcrumb/index.d.ts" }, "require": { "default": "./build/cjs/components/breadcrumb/index.cjs", "types": "./build/cjs/components/breadcrumb/index.d.cts" } },
Er det mulig å endre til denne varianten?
"./components/autosuggest": { "import": { "types": "./build/es/components/autosuggest/index.d.ts" }, "require": { "types": "./build/cjs/components/autosuggest/index.d.cts" }, "default": "./build/es/components/autosuggest/index.js" },
eller til denne varianten?
"./components/accordion": { "import": "./build/es/components/accordion/index.d.ts", "require": "./build/cjs/components/accordion/index.d.cts", "default": "./build/es/components/accordion/index.js" },