Skip to content
This repository was archived by the owner on Jan 16, 2025. It is now read-only.

Commit c45c3bc

Browse files
committed
since tree.js is es module, the config extension should be cjs
1 parent 14872bf commit c45c3bc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/integration.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
yarn swc editor -d ./build-editor/
8484
checkBuild "editor" "build-editor"
8585
86-
tee spack.config.js <<EOF
86+
tee spack.config.cjs <<EOF
8787
module.exports = {
8888
entry: {
8989
web: __dirname + "/src/Three.js",
@@ -95,7 +95,7 @@ jobs:
9595
EOF
9696
9797
echo "Run spack"
98-
yarn spack
98+
yarn spack --config spack.config.cjs
9999
- name: (swc + spack) rxjs
100100
shell: bash
101101
run: |
@@ -153,7 +153,7 @@ jobs:
153153
yarn swc spec -d build-spec
154154
checkBuild "spec" "build-spec"
155155
156-
tee spack.config.js <<EOF
156+
tee spack.config.cjs <<EOF
157157
module.exports = {
158158
entry: {
159159
web: __dirname + "/src/index.ts",
@@ -165,4 +165,4 @@ jobs:
165165
EOF
166166
167167
echo "Run spack"
168-
yarn spack
168+
yarn spack --config spack.config.cjs

0 commit comments

Comments
 (0)