Comments (7)
More than a year later, the project has finally been renamed to sbt-web-scalajs
. Usage has changed, you can take a look at the release note or one of the two examples to help you migrating from sbt-play-scalajs v0.3.1 to sbt-web-scalajs v1.0.0.
from sbt-web-scalajs.
Indeed, there is no play-specific things anymore. I will consider renaming it to sbt-web-scalajs or sbtweb-scalajs. Users of the plugin would have to edit their plugins.sbt file and I would have to update the various places where links to sbt-play-scalajs have been posted (Scala.js website, the sbt plugins page, etc.).
I would be interested in seing an akka-http project using sbt-play-scalajs and get feedback to know whether the plugin is really useful outside of a play project.
from sbt-web-scalajs.
I cleaned this message because there was a mistake in configuration there
from sbt-web-scalajs.
I would be interested in seing an akka-http project using sbt-play-scalajs and get feedback to know whether the plugin is really useful outside of a play project.
I've used it for preview project in my codemirror facade, see https://github.com/antonkulaga/codemirror-facade/blob/master/project/Build.scala
The main problem is that while scalaJSProd is Pipeline.Stage scalaJSDev and is not. So, I had to create a pipeline stage for it. I created a PR to fix this: #12
from sbt-web-scalajs.
It would be nice to at least note in the readme that it's possible to use this without Play. I just integrated it into an akka-http project with no issues, but not until after I stumbled upon this issue from a comment in antonkulaga's code.
from sbt-web-scalajs.
Hi, I agree it would be nice to let people know that it's possible to use the plugin outside of a Play application.
I am curious to see how the integration between sbt-play-scalajs and akka-http works. For instance, is it possible in akka-http to know whether the application runs in Dev or Prod mode? Do you have your akka-http project available somewhere?
from sbt-web-scalajs.
Yes, I use akka-http in most of my opensource projects. For instance it is used https://github.com/antonkulaga/scala-js-binding to provide previews. Right now I have an issue with source maps, other parts work well
from sbt-web-scalajs.
Related Issues (20)
- Scala 3 compatibility HOT 1
- Can't set scalaJSStage for configurations other than Global HOT 2
- Using the suggested setup requires a full compile in order to "import" SBT project in IntelliJ HOT 4
- Getting build artifacts in right folder / replacement for isDevMode
- Build error when plugin is use together with newer play framework versions (>=2.9) HOT 2
- v1.3.0 no such method error on SbtWeb$.withActorRefFactory
- Class not found exception
- add HOT 1
- Using sbt-web-scalajs with single-project build HOT 3
- Have client-opt.js and client-launcher.js in the same file. One request less means a lot. HOT 2
- Support source map with absolute path (IntelliJ debugging problem)
- Publish for sbt 1.0.0-RC2? HOT 6
- Not compatible with ScalaJs 1.0.0-M1 HOT 17
- sbt-web-scalajs is breaking idempotent SBT contract HOT 4
- Specify opt js output file name HOT 3
- Dev mode detection does not always work HOT 4
- devCommands is still too strict: It misses ~ HOT 7
- Source map files (.map) should not been present inside JAR when using prod commands
- Can't make the current version sbt-web-scalajs 1.1.0 to work properly HOT 1
- error: not found: value devCommands HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sbt-web-scalajs.