Skip to content

Commit

Permalink
disable inline sourcemap
Browse files Browse the repository at this point in the history
  • Loading branch information
huozhi committed Mar 5, 2022
1 parent 0ed5f0c commit 5c20a28
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/next/taskfile-swc.js
Expand Up @@ -94,6 +94,7 @@ module.exports = function (task) {
const options = {
filename: path.join(file.dir, file.base),
sourceMaps: true,
inlineSourcesContent: false,
sourceFileName: path.relative(distFilePath, fullFilePath),

...swcOptions,
Expand Down

0 comments on commit 5c20a28

Please sign in to comment.