This is a demo of using Next.js with the babel-plugin-macros and preval.macro to inline CSS generated from SCSS source files at build time. It works in this test case, but not in another app I'm working on, and only fails in production.
Because we don't use Webpack to build our distributed JS bundles, so we can't use sass-loader.