Comments (4)
DId you try using inlineSourcesContent
?
https://swc.rs/docs/configuring-swc/#inlinesourcescontent
from swc-loader.
That seems to work, thanks; should I add it (at least as a comment) to the example so it's more visible when someone will encounter it?
from swc-loader.
It will be true
by default starting from v1.2.101
(The next version)
from swc-loader.
There is also typo actually (When I tried to use it in the jest, it threw an error):
sourceMaps vs sourceMap
from swc-loader.
Related Issues (20)
- incorrectly defaulting CJS code to strict mode HOT 1
- Add Changelog
- Swc-loader seems to ignore .swcrc.json and/or there's no way to specify a config HOT 2
- unknown variant `nodenext`, expected one of `commonjs`, `umd`, `amd`, `systemjs`, `es6`
- Can i use swc-loader with babel-loader(for using specific babel plugin) ? HOT 1
- Can't find swc-loader bindings on Windows HOT 1
- Will swc-loader add appendTsSuffixTo option
- __webpack_require__(...).context is not a function HOT 1
- Is `npm link` / `yarn link` supported? HOT 2
- `options.minify` cannot remove comments HOT 1
- After updating from 0.2.1 to 0.2.3, build silently fails and doesnt get executed anymore
- inputSourcemap in loader options doesn't work
- [Bug] Unable to pass custom options via swc-loader HOT 2
- Babel plugin support with SWC?
- [Possible bug] What does the `parseMap` option does anyway? (Error when that option is used alongside a Webpack Plugin) HOT 2
- Use config { mode: 'usage' } and the core-js path was not found
- seems not work with @swc/core after 1.3.49
- [Question] swc-loader bundle size HOT 2
- How can I disable strict mode
- Can't find swc-loader bindings on Windows(arm) HOT 5
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 swc-loader.