-
Notifications
You must be signed in to change notification settings - Fork 680
[webpack] Production sourcemap for javascript #232
Comments
ditto |
@Tommyldunn the problem is this revving mechanism does too much, it also minifies the source, it should be done in the css process with |
The issue with webpack at least is here (it handles it's revving separately): https://github.com/vigetlabs/gulp-starter/blob/master/gulpfile.js/lib/webpackManifest.js#L15 Looks like var chunkName = typeof chunks[key] === 'string' ? chunks[key] : chunks[key][0]
... path.join(publicPath, chunkName) But that's kind of dirty. This is a good issue. Feel free to open a Pull Request if you come up with a good solution. I may not have time this week, but will try. |
@tsm91 - thanks for the info man. @greypants - thanks man, i'll have some time this weekend to look into that and will let ya know. ps. love your work |
@Tommyldunn - had any success with this? Interested to hear your progress and hope to avoid re-inventing the wheel if you've already got one rolling. |
I have not revisited this specifically with Blendid, but you do get FULL access to the webpack config now: https://github.com/vigetlabs/blendid#customizewebpackconfig |
Working on this now! Should be fixed in the next release. |
Hello @greypants, i am unable to generate a sourcemap for javascript in production. I simply put the devtool option directly to webpackConfig and removed the one in the development conditional.
the error in terminal's stream
npm-debug/log file
The text was updated successfully, but these errors were encountered: