mirror of
https://github.com/swc-project/swc.git
synced 2024-12-19 19:52:21 +03:00
12 lines
307 B
Bash
12 lines
307 B
Bash
|
#!/usr/bin/env bash
|
||
|
set -eu
|
||
|
|
||
|
# This script tests if webpack ast is identical to webpack ast produced by acorn,
|
||
|
# by running webpack via next.js
|
||
|
|
||
|
UPDATE=1 cargo test
|
||
|
|
||
|
(cd next.js/packages/next-swc && yarn build-native)
|
||
|
|
||
|
(cd next.js && NEXT_PRIVATE_LOCAL_WEBPACK5=1 yarn next dev test/integration/production)
|