Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start dotnet compiler in package.json instead of snowpack.config.js #53

Open
MichaelMay81 opened this issue Feb 1, 2022 · 1 comment

Comments

@MichaelMay81
Copy link

Snowpacks plugin-run-script seems buggy:

Proposed solution:
Instead of starting dotnet fable inside snowpack.config.js, start int in package.json

"scripts": {
    "postinstall": "dotnet tool restore",
    "dev": "dotnet fable watch src -o dist --run snowpack dev",
    "prebuild": "dotnet fable src -o dist",
    "build": "snowpack build",
    "clean": "rm -r dist build"
  },
@MichaelMay81
Copy link
Author

'devOptions: { output: "stream" }'
gives better output with dotnet not being started by snowpack

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant