Cannot import svg


#1

Hi all,

i am unable to import svg file in app.ts.

project type: webpack&typscript

i tried
import icons from “text!trumbowyg/dist/ui/icons.svg”
import icons from “trumbowyg/dist/ui/icons.svg!text”
import icons from “trumbowyg/dist/ui/icons.svg”

compile time error

Cannot find module ‘text!trumbowyg/dist/ui/icons.svg’
Cannot find module ‘trumbowyg/dist/ui/icons.svg!text’.
Cannot find module ‘trumbowyg/dist/ui/icons.svg’.