Financial-Times/n-makefile

CSS source maps are broken in dev mode

Closed this issue · 1 comments

Source maps on:

module.exports = {
  ...
  module: {
    loaders: [
      {
        test: /\.scss$/,
        loader: ExtractTextPlugin.extract('style', ['css?sourceMap', 'sass?sourceMap'])
      }
    ]
  },
  devtool: 'source-map'
}

Source maps off:

module.exports = {
  ...
  module: {
    loaders: [
      {
        test: /\.scss$/,
        loader: ExtractTextPlugin.extract('style', ['css', 'sass'])
      }
    ]
  }
}

Current --dev limbo:

module.exports = {
  ...
  module: {
    loaders: [
      {
        test: /\.scss$/,
        loader: ExtractTextPlugin.extract('style', ['css', 'sass'])
      }
    ]
  },
  devtool: 'source-map'
}

Fixed in #65