I'm new to webpack, and I need a hand in setting up to generate sourcemaps. I'm running webpack serve from the command line, which compiles successfully. But I really need sourcemaps. This is my webpack.config.js.  var webpack = require(...
I have a build script that runs all my code through uglifyjs, does a bunch of fancy caching stuff, and ultimately runs eval( code ) on some JavaScript files.  I'm trying to get this whole process up and running with source maps, but I can't s...
I decided to try out WebPack on a new project I'm spinning up today and I'm getting really strange behavior from the sourcemaps. I can't find anything about it in the documentation, nor can I find anyone else having this issue when skimmi...
Within Google Chrome, I was wondering if stack traces will, in the future, provide mapping support. Currently, using source maps, throwing an error will provide the line number link to my TypeScript files, however... When calling the Error.stack, it...
I use Babel and Google Chrome Developer Tools with JavaScript source maps enabled. Given this code  function myFunc(elements) {   return elements     .map(element => element.value)     .filter(value => value >= 0); }   how can I pause execut...
I'm setting up a Webpack build process for an existing project and have been running into some issues with source maps.  I am using devtool: 'eval-source-map',. If an error happens in the browser, every file / line number in the stack tra...
Recently I have seen files with .js.map extension shipped with some JavaScript libraries (like Angular), and that just raised few questions in my head:   What is it for? Why do the guys at Angular care to deliver a .js.map file? How can I (as a JavaS...
When I have an error on a JS code, I have this kind of stacktrace :   Error while processing route: admin.subscriptions/edit The adapter operation was aborted Error     at n.i (http://test.com/assets/vendor-160ad2febac0712c4d0db4e856197579.js:62:1375...
Let's say I have a language that looks like  print "Hello World"   which transpiles to  var $__Helpers = {     print: function(s) {         if (typeof s != 'string')             throw new TypeError('String expected');...
My production webpack configuration is:  {   output: {     publicPath: "https://cdn.example.com/sub-directory/",     filename: '[name]-[chunkhash].min.js'   },    devtool: 'source-map',    plugins: [     new webpack.optimize.U...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.