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

Use .jsEnablePlugins(NpmPackagePlugin) #11

Merged
merged 5 commits into from
Nov 20, 2021
Merged

Conversation

armanbilge
Copy link
Contributor

@armanbilge armanbilge commented Nov 20, 2021

This PR fixes an issue with our coreJVM project still having ScalaJS inside and tests not running as expected.

Copy link
Contributor

@valencik valencik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested locally, coreJVM/test now works wonders

).jsSettings(
scalaJSLinkerConfig ~= { _.withModuleKind(ModuleKind.CommonJSModule)},
scalaJSUseMainModuleInitializer := true,
scalaJSStage in Global := FullOptStage,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Won't take responsibility for any consequences of this :P

Suggested change
scalaJSStage in Global := FullOptStage,
Compile / scalaJSStage := FullOptStage,

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just for fun record keeping, we tried this and it brought back fullLinkJS in testing

@valencik valencik merged commit 265372d into davenverse:main Nov 20, 2021
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

Successfully merging this pull request may close these issues.

None yet

3 participants