-
Notifications
You must be signed in to change notification settings - Fork 111
Description
Hello,
I can't get the SCSS source maps to show...
Do you know how to fix this, please?
webpack.development.js
`const { configureDevServer } = require('./webpack.parts');
const { HotAcceptPlugin } = require('hot-accept-webpack-plugin');
const webpack = require('webpack');
exports.developmentConfig = ({ port, publicPath, serverAddress, siteURL, entriesArray }) => ({
devtool: "source-map",
devServer: configureDevServer(serverAddress, publicPath, port, siteURL),
plugins: [
new webpack.HotModuleReplacementPlugin(),
new HotAcceptPlugin({
test: Object.keys(entriesArray).map(el => ${el}.js)
})
]
});
`
I’ve set devtool: "source-map" in my config, but the browser doesn’t display the SCSS source maps in the console.
Any idea why this might be happening?
Thanks in advance!