Skip to content

Commit

Permalink
Disable dead code removal.
Browse files Browse the repository at this point in the history
A bug in the minifier breaks rdflib's N3 parser
(babel/minify#685).
  • Loading branch information
RubenVerborgh committed Sep 8, 2017
1 parent 11c82f5 commit af91fcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ module.exports = (env) => {
},
devtool: 'source-map',
plugins: development ? [] : [
new MinifyPlugin()
new MinifyPlugin({ deadcode: false })
]
}
}

0 comments on commit af91fcf

Please sign in to comment.