-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
Hi,
i had trouble to get the build setup running on MacOS
First problem:
import fs from 'fs';
^^^^^^
SyntaxError: Cannot use import statement outside a module
I tried multiple multipe node versions, but in the end it was solvable by adjusting the build/entries.js and the build/site.js, see pull request
Second problem:
rspack and husky complained about missing bindings, so i had to add them for building / running the tests
"@rspack/binding-darwin-arm64": "^0.6.5",
"@swc/core-darwin-arm64": "^1.7.23",
I am not that deep into NodeJS and this is my first go with rspack. Maybe there is an automatic way to solve this?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels