Skip to content

Commit 1497325

Browse files
committed
修改 sourceMap
1 parent 835a567 commit 1497325

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

dist/cos-js-sdk-v5.js.map

-1
This file was deleted.

webpack.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ replaceVersion();
5050
module.exports = {
5151
mode: process.env.NODE_ENV,
5252
entry: path.resolve(__dirname, './index.js'),
53-
devtool: process.env.NODE_ENV === 'production' ? "none" : "source-map",
53+
devtool: 'none',
5454
output: {
5555
path: path.resolve(__dirname, './dist'),
5656
publicPath: '/dist/',

0 commit comments

Comments
 (0)