소스 검색

Disable source map generation in production mode

Alessandro Pignotti 9 달 전
부모
커밋
ad7489d869
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      rollup.config.js

+ 1 - 1
rollup.config.js

@@ -19,7 +19,7 @@ const __dirname = path.dirname(url.fileURLToPath(import.meta.url));
 export default {
 	input: 'src/main.js',
 	output: {
-		sourcemap: true,
+		sourcemap: !production,
 		format: 'esm',
 		name: 'app',
 		file: 'build/bundle.js'