I have a file variables.css with CSS variables inside a :root{}
Right now each time I need to use it in another .css file I use:
@import './path/to/variables.css'.
I want to know if there is a way to have variables.css available globally without having to import it every single time I need it.
I tried to use the option customProperties on cssnext plugin, but it gives an error compiling css to a js object...
I'm using React with webpack 1 and as postcss plugins I have import, mixins, cssnext and nested.
Thanks