Skip to content

Commit c213e58

Browse files
committed
refactor: use import instead of require in ci script
1 parent dd268fc commit c213e58

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ci/compress.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
const fs = require('fs');
2-
const archiver = require('archiver');
1+
import fs from 'fs';
2+
import archiver from 'archiver';
33

44
const packageJson = JSON.parse(fs.readFileSync('./package.json').toString());
55

0 commit comments

Comments
 (0)