Comments (2)
Hi, Scala.js generates the SourceMap files. In the jsSettings, you can set the emitSourceMaps
setting key to false for fullOptJs
:
lazy val playScalaJS: CrossProject = PlayScalaJS("example", file(".")).
jsSettings(emitSourceMaps in fullOptJS := false)
The *opt.js.map
file won't be emitted for prod while the *fastopt.js.map
file will still be emitted for dev. Make sure to do a clean
before a start
, stage
or dist
and you will not see it in your browser's console.
from sbt-web-scalajs.
Great thanks for the info. Sorry if this was obvious.
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.