mirror of
https://github.com/formbricks/formbricks.git
synced 2026-01-07 16:21:57 -06:00
fix: removes sourcemaps (#5257)
This commit is contained in:
@@ -6,7 +6,6 @@ export default defineConfig({
|
||||
build: {
|
||||
emptyOutDir: false, // keep the dist folder to avoid errors with pnpm go when folder is empty during build
|
||||
minify: "terser",
|
||||
sourcemap: true,
|
||||
lib: {
|
||||
// Could also be a dictionary or array of multiple entry points
|
||||
entry: resolve(__dirname, "src/index.ts"),
|
||||
|
||||
@@ -20,7 +20,6 @@ const config = () => {
|
||||
},
|
||||
emptyOutDir: false, // keep the dist folder to avoid errors with pnpm go when folder is empty during build
|
||||
minify: "terser",
|
||||
sourcemap: true,
|
||||
lib: {
|
||||
entry: resolve(__dirname, "src/index.ts"),
|
||||
name: "formbricks",
|
||||
|
||||
@@ -21,7 +21,6 @@ export default defineConfig({
|
||||
},
|
||||
},
|
||||
},
|
||||
sourcemap: true,
|
||||
emptyOutDir: false,
|
||||
},
|
||||
plugins: [
|
||||
|
||||
@@ -15,7 +15,6 @@ const config = (): UserConfig => {
|
||||
build: {
|
||||
emptyOutDir: false,
|
||||
minify: "terser",
|
||||
sourcemap: true,
|
||||
rollupOptions: {
|
||||
external: [
|
||||
"react",
|
||||
|
||||
Reference in New Issue
Block a user