I'd like to import breakpoints for use in widths in .percy.js. The following .percy.js does not work (i.e. the widths are not respected, and instead the defaults of 375 and 1280 are used) when used viapercy snapshot --config=.percy.js snapshots.js, but does when the require line is removed (similarly with the equivalent import).
The problem
I'd like to import breakpoints for use in
widths
in.percy.js
. The following.percy.js
does not work (i.e. thewidths
are not respected, and instead the defaults of375
and1280
are used) when used viapercy snapshot --config=.percy.js snapshots.js
, but does when therequire
line is removed (similarly with the equivalentimport
).Environment
v14.18.3 (npm v6.14.15)
@percy/cli
version:@percy/cli 1.0.0-beta.76
https://percy.io/be8d462e/powderhouse.org/builds/16394515
zsh
Details
None beyond the above.
Debug logs
It's not clear whether/how the Percy CLI has a
--debug
or--verbose
option.Code to reproduce issue
None beyond the above.