Skip to content

Commit

Permalink
since tree.js is es module, the config extension should be cjs
Browse files Browse the repository at this point in the history
  • Loading branch information
3axap4eHko committed Mar 31, 2023
1 parent 14872bf commit 721157a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
yarn swc editor -d ./build-editor/
checkBuild "editor" "build-editor"
tee spack.config.js <<EOF
tee spack.config.cjs <<EOF
module.exports = {
entry: {
web: __dirname + "/src/Three.js",
Expand All @@ -95,7 +95,7 @@ jobs:
EOF
echo "Run spack"
yarn spack
yarn spack --config ./spack.config.cjs
- name: (swc + spack) rxjs
shell: bash
run: |
Expand Down Expand Up @@ -153,7 +153,7 @@ jobs:
yarn swc spec -d build-spec
checkBuild "spec" "build-spec"
tee spack.config.js <<EOF
tee spack.config.cjs <<EOF
module.exports = {
entry: {
web: __dirname + "/src/index.ts",
Expand All @@ -165,4 +165,4 @@ jobs:
EOF
echo "Run spack"
yarn spack
yarn spack --config ./spack.config.cjs

0 comments on commit 721157a

Please sign in to comment.