rsnext/examples/with-styletron/next.config.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
228 B
JavaScript
Raw Normal View History

/** @type {import('next').NextConfig} */
module.exports = {
2020-05-18 21:24:37 +02:00
webpack: function (config) {
config.externals = config.externals || {};
config.externals["styletron-server"] = "styletron-server";
return config;
},
};