export default withSolid({ writePackageJson: true, input: "./src/index.tsx", targets: ["esm","cjs"], plugins: [vanillaExtractPlugin(), resolve()], output: { dir: "dist", format: "es", preserveModules: true, assetFileNames({name}) { const path = name?.replace("src/styles", 'assets'); return path; } }});
"source": "./dist/source/index.jsx", "main": "./dist/src/index.js", "module": "./dist/esm/index.js", "types": "./dist/types/index.ts", "exports": { ".": { "types": "./dist/types/index.d.ts", "solid": "./dist/src/index.js", "import": "./dist/esm/index.js", "browser": "./dist/esm/index.js", "require": "./dist/cjs/index.js", "node": "./dist/cjs/index.js" } }, "files": [ "dist" ],