diff --git a/rollup.config.js b/rollup.config.js index 334c311..a3c8343 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -17,7 +17,7 @@ export default MODES.map(item => { name: "ReactTailwindcssSelect", file: `dist/index.${item}${dev ? '' : '.min'}.js`, format: item, - sourcemap: item === "esm", + sourcemap: true, exports: "auto", globals: { 'react': 'React' diff --git a/src/components/SearchInput.tsx b/src/components/SearchInput.tsx index ea31c07..2580d59 100755 --- a/src/components/SearchInput.tsx +++ b/src/components/SearchInput.tsx @@ -13,7 +13,7 @@ const SearchInput: React.FC = ({placeholder = "", value = "", onChange, n