Skip to content

Commit

Permalink
Re-enable Source maps in production, reverts #770
Browse files Browse the repository at this point in the history
  • Loading branch information
guilleiguaran committed Jan 28, 2019
1 parent 2b0d507 commit c2689bc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package/__tests__/production.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ describe('Production environment', () => {
expect(config.output.path).toEqual(resolve('public', 'packs'))
expect(config.output.publicPath).toEqual('/packs/')
expect(config).toMatchObject({
devtool: 'nosources-source-map',
devtool: 'source-map',
stats: 'normal'
})
})
Expand Down
2 changes: 1 addition & 1 deletion package/__tests__/staging.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ describe('Custom environment', () => {
expect(config.output.path).toEqual(resolve('public', 'packs-staging'))
expect(config.output.publicPath).toEqual('/packs-staging/')
expect(config).toMatchObject({
devtool: 'nosources-source-map',
devtool: 'source-map',
stats: 'normal'
})
})
Expand Down
2 changes: 1 addition & 1 deletion package/environments/production.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ module.exports = class extends Base {
)

this.config.merge({
devtool: 'nosources-source-map',
devtool: 'source-map',
stats: 'normal',
bail: true,
optimization: {
Expand Down

0 comments on commit c2689bc

Please sign in to comment.