Closed figmentc closed 3 years ago
When importing a shared React component from another workspace that imports an image using require("../path/to/image) or import image from '../path/to/image', it throws the same error
require("../path/to/image
import image from '../path/to/image'
���� ^ SyntaxError: Invalid or unexpected token
@karpkarp Have you been successful to fix it? Maybe you can solve the problem of some other guys :)
When importing a shared React component from another workspace that imports an image using
require("../path/to/image
) orimport image from '../path/to/image'
, it throws the same error