Skip to content

Commit a33e9fb

Browse files
authored
build: fix min.js does not have source map (#2084)
1 parent 4df67c9 commit a33e9fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rollup.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ function config({ location, pkgJson }) {
8080
...commonPlugins
8181
];
8282
if (compress) {
83-
plugins.push(minify());
83+
plugins.push(minify({ sourceMap: true }));
8484
file = path.join(location, "dist", "browser.min.js");
8585
}
8686

0 commit comments

Comments
 (0)