mirror of
https://github.com/swc-project/swc.git
synced 2024-12-18 03:01:48 +03:00
8 lines
182 B
JavaScript
8 lines
182 B
JavaScript
|
const validate = require('sourcemap-validator');
|
||
|
const fs = require('fs');
|
||
|
|
||
|
const jsFile = process.argv[1];
|
||
|
|
||
|
const jsContent = fs.readFileSync(jsFile, 'utf-8');
|
||
|
|
||
|
validate(jsContent);
|