Skip to content

Commit 968c0d1

Browse files
mbsrcskipjack
authored andcommitted
docs(guides): fix source-map discrepancy in production.md (#1711)
The `webpack.prod.js` code example in the "Specify the Evironment" section shows `cheap-module-source-map` for the `devtool` field which is not recommended for production. This section should show `source-map` to be consistent with the webpack.prod.js in the previous "Source Mapping" section.
1 parent 8a3c989 commit 968c0d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/guides/production.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ __webpack.prod.js__
195195
const common = require('./webpack.common.js');
196196

197197
module.exports = merge(common, {
198-
devtool: 'cheap-module-source-map',
198+
devtool: 'source-map',
199199
plugins: [
200200
new UglifyJSPlugin({
201201
sourceMap: true

0 commit comments

Comments
 (0)