fix: source map warning during build (#8148)
* [WEB-5473] fix: source map errors * [WEB-5473] chore: run codemod * fix: build errors in editor --------- Co-authored-by: sriramveeraghanta <veeraghanta.sriram@gmail.com>
This commit is contained in:
parent
9611cd1e73
commit
2e15e4f786
956 changed files with 778 additions and 2267 deletions
|
|
@ -35,8 +35,9 @@ export default defineConfig({
|
|||
"src/tooltip/index.ts",
|
||||
"src/utils/index.ts",
|
||||
],
|
||||
outDir: "dist",
|
||||
format: ["esm", "cjs"],
|
||||
format: ["esm"],
|
||||
dts: true,
|
||||
copy: ["src/styles"],
|
||||
exports: {
|
||||
customExports: (exports) => ({
|
||||
...exports,
|
||||
|
|
@ -46,8 +47,5 @@ export default defineConfig({
|
|||
"./styles/react-day-picker": "./dist/styles/react-day-picker.css",
|
||||
}),
|
||||
},
|
||||
copy: ["src/styles"],
|
||||
dts: true,
|
||||
clean: true,
|
||||
sourcemap: false,
|
||||
platform: "neutral",
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue