Use namespace import syntax to support newer bundlers

The old `import printj from 'printj'` syntax was causing an error in in a personal project where I was using Vite v4.3.9. Making this change to the import syntax and rebuilding this project solved the issue for me.
pull/8/head
tarunaersys 3 years ago committed by GitHub
parent f083952b9f
commit 278a1a971a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,4 +1,4 @@
import printj from 'printj'
import * as printj from 'printj'
import { Table } from '../Table'
import { LuaError } from '../LuaError'
import { tostring, posrelat, coerceArgToNumber, coerceArgToString, hasOwnProperty, LuaType } from '../utils'

Loading…
Cancel
Save