Comments (7)
@evilebottnawi The issue seems to have been fixed 11 months ago: 4e1ea6d#diff-80d25e3b0eed8830fe06f2bad53a54b6R46
from webpack-sources.
@EECOLOR problem still exists?
from webpack-sources.
Yes:
https://github.com/webpack/webpack-sources/blob/master/lib/RawSource.js#L26
https://github.com/mozilla/source-map/blob/0.6.1/lib/source-node.js#L43
https://github.com/mozilla/source-map/blob/0.6.1/lib/source-node.js#L184
from webpack-sources.
Example:
https://github.com/webpack-contrib/file-loader/blob/master/src/index.js#L85
https://github.com/webpack-contrib/file-loader/blob/master/src/index.js#L79
https://github.com/webpack/webpack/blob/master/lib/NormalModule.js#L191
https://github.com/webpack/webpack/blob/master/lib/NormalModule.js#L138
from webpack-sources.
@EECOLOR can you create minimum reproducible test repo?
from webpack-sources.
@evilebottnawi Just create a RawSource
with a buffer as value
and call node
on it
from webpack-sources.
@EECOLOR sorry for big delay, I think it is expected, you need to use RawSource(Buffer.from('test'), true)
from webpack-sources.
Related Issues (20)
- TypeError: value.split is not a function HOT 1
- ConcatSource.js:42 failing with Cannot read property 'source' of undefined HOT 2
- res.code is generated code and not Source.prototype.source()
- Content and Map of this Source is not available (only size() is supported) webpack5 HOT 1
- TypeError: Cannot read property 'length' of null HOT 6
- "Maximum call stack size exceeded" in streamChunks* HOT 110
- applySourceMap for webpack 4 is super slow HOT 3
- How to use this library to generate source map to a loader. Is there any guide or example? HOT 1
- Source.Replace can't replace all HOT 20
- ng build success but throwing error on ng serve -- return new error HOT 5
- ReplaceSource.js:82 this._source.node is not a function HOT 5
- Expose _name as public property HOT 11
- last version webpack-sources consuming [email protected] HOT 2
- How to replace the RawSource's value ? HOT 1
- UnhandledPromiseRejectionWarning: Error: "." is not in the SourceMap (reproducible) HOT 4
- Error: "." is not in the SourceMap. HOT 1
- HookWebpackError: item.node is not a function HOT 10
- webpack-sources' Source type is not assigneable to webpack5 source type HOT 11
- why sourceAndMap columns: false is different with columns: true HOT 1
- [question] why ReplaceSource.map.sourcesContent not change 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 webpack-sources.