Skip to content

Commit

Permalink
fix(deploy): debugging vercel build
Browse files Browse the repository at this point in the history
  • Loading branch information
plouc committed May 13, 2023
1 parent 911010f commit 2ed9bd3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ help: ##prints help

.PHONY: install
install: ##@0 global install
@pnpm install --frozen-lockfile
pnpm install --frozen-lockfile

.PHONY: init
init: ##@0 global cleanup/install/bootstrap
Expand Down Expand Up @@ -169,6 +169,7 @@ pkgs-build: pkgs-types ##@1 packages build all packages
@# Skipping type generation as it's already done via `pkgs-types` in one go.
@export SKIP_TYPES=TRUE; find ./packages -type d -maxdepth 1 ! -path ./packages \
| sed 's|^./packages/||' \
| sort \
| xargs -I '{}' sh -c '$(MAKE) pkg-build-{} || exit 255'
@echo "${GREEN}Packages built${RESET}"

Expand Down
4 changes: 2 additions & 2 deletions conf/rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import stripBanner from 'rollup-plugin-strip-banner'
import cleanup from 'rollup-plugin-cleanup'
import size from 'rollup-plugin-size'
import { visualizer } from 'rollup-plugin-visualizer'
import terser from "@rollup/plugin-terser"
import terser from '@rollup/plugin-terser'

const pkg = process.env.PACKAGE
const isWatching = process.env.ROLLUP_WATCH === 'true'
Expand Down Expand Up @@ -56,7 +56,7 @@ const commonPlugins = [
modulesOnly: true,
}),
babel(babelConfig),
!isWatching && terser(),
// !isWatching && terser(),
cleanup()
]

Expand Down

0 comments on commit 2ed9bd3

Please sign in to comment.