ng-annotate-loader icon indicating copy to clipboard operation
ng-annotate-loader copied to clipboard

Lost Sourcemaps

Open daniel-nagy opened this issue 8 years ago • 2 comments

Using the latest version, currently 0.2.0, when I start my webpack dev server some of my source maps are not visible in the browser. If I downgrade back to 0.1.1 they are visible in the browser again.

const babelLoader = {
  loader: 'babel-loader',
  options: {
    cacheDirectory: true,
    presets: [['latest', {modules: false}]],
    plugins: [
      'transform-class-properties',
      'transform-object-rest-spread'
    ]
  }
};

const javascriptRule = {
  ...
  use: ['ng-annotate-loader', babelLoader]
};

const config = {
  devtool: 'cheap-module-eval-source-map',
  ...
  module: {
    rules: [
      ...
      javascriptRule
    ]
  },
}
browser: Chrome 56.0.2924.87 (64-bit)
webpack: v2.2.1
babel-loader: v6.2.10

daniel-nagy avatar Feb 12 '17 20:02 daniel-nagy

commenting to see if we can get some development moving on this, please and thank you!

timothylombrana avatar May 03 '17 22:05 timothylombrana

fixed in this PR https://github.com/huston007/ng-annotate-loader/pull/41

timofei-iatsenko avatar May 28 '17 16:05 timofei-iatsenko