Skip to content
This repository was archived by the owner on Dec 5, 2019. It is now read-only.

[v1.0.0-beta.2] sourcemap not work in parallel #111

Closed
jinker opened this issue Aug 17, 2017 · 7 comments
Closed

[v1.0.0-beta.2] sourcemap not work in parallel #111

jinker opened this issue Aug 17, 2017 · 7 comments

Comments

@jinker
Copy link

jinker commented Aug 17, 2017

first set cache true, parallel false
then parallel true, the sourcemap not work

@alexander-akait
Copy link
Member

@jinker thanks for issue, uglifyjs-webpack-plugin don't contain cache now, it is implement only in #108. We have only parallel option. Can your provide minimum test repo, thanks!

@crazyxhz
Copy link

I'm also have this issue.

devtools:'#source-map',
plugins: [
... 
new UglifyJSPlugin({
      parallel: true,
      sourceMap: true
    }),
...]

when set parallel to true, source map is not generated.
I'm using v1.0.0 beta2

@alexander-akait
Copy link
Member

alexander-akait commented Aug 18, 2017

@crazyxhz Use devtool:'source-map', instead devtools:'#source-map', https://webpack.js.org/configuration/devtool/#devtool

@crazyxhz
Copy link

@evilebottnawi sorry, it's a typo, I'm using devtool correcly in my webpack config

@alexander-akait
Copy link
Member

@crazyxhz after review #108 i can add tests for this and if don't works as expected i will fix this, thanks!

@michael-ciniawsky michael-ciniawsky added this to the 1.0.0 milestone Oct 21, 2017
@michael-ciniawsky michael-ciniawsky modified the milestones: 2.0.0, 1.0.2 Oct 29, 2017
@alexander-akait
Copy link
Member

@jinker @crazyxhz problem still exists?

@michael-ciniawsky
Copy link
Member

michael-ciniawsky commented Nov 23, 2017

Fixed by #173

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

No branches or pull requests

5 participants