Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lost Sourcemaps #34

Open
daniel-nagy opened this issue Feb 12, 2017 · 2 comments
Open

Lost Sourcemaps #34

daniel-nagy opened this issue Feb 12, 2017 · 2 comments

Comments

@daniel-nagy
Copy link

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
@timothylombrana
Copy link

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

@timofei-iatsenko
Copy link
Contributor

fixed in this PR #41

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants