How do I generate sourcemaps when using babel and webpack?

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(‘webpack’); module.exports = { output: { filename: ‘main.js’, publicPath: ‘/assets/’ }, cache: true, debug: true, devtool: true, … Read more

what are the .map files used for in Bootstrap 3.x?

There are two files included in the CSS folder with .map file extensions. They are: bootstrap-theme.css.map bootstrap.css.map They appear to be minified files but I don’t know what they are for. 8 s 8 From Working with CSS preprocessors in Chrome DevTools: Many developers generate CSS style sheets using a CSS preprocessor, such as Sass, … Read more