mirror of
https://github.com/He4eT/oddsquat.git
synced 2026-05-04 20:37:22 +00:00
typograf: use require again
This commit is contained in:
parent
1355480f4e
commit
e1f9972d16
1 changed files with 2 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
import Typograf from 'typograf'
|
const Typograf = require('typograf')
|
||||||
import { readFileSync, writeFile } from 'fs'
|
const { readFileSync, writeFile } = require('fs')
|
||||||
|
|
||||||
if (!process.argv[2]) {
|
if (!process.argv[2]) {
|
||||||
console.log('Usage:\n node typograf file [locale]')
|
console.log('Usage:\n node typograf file [locale]')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue