Dmitriy Kurto
Dmitriy Kurto
I use SCSS and paste SVG on page with background-image `background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' id='Layer_1' x='0px' y='0px' viewBox='0 0 35.1 35.1' style='enable-background:new 0 0 35.1 35.1%3B'%3E%3Cstyle%3E.st0%7Bfill:%2333C158%3B%7D .st1%7Bfill:url(%23SVGID_1_)%3B%7D .st2%7Bopacity:0.4%3Bfill:%23FFFFFF%3Benable-background:new %3B%7D%3C/style%3E%3Cg%3E%3Ccircle cx='17.6' cy='17.6'...
Hi there! Is there a way require or import other files inside CommonJs language file? I get btn undefined inside test.js helpers/btn.js: ``` module.exports = function() { return Text; };...