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

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

13 lines
290 B
JavaScript
Raw Normal View History

/** @type {import('next').NextConfig} */
const WindiCSSWebpackPlugin = require("windicss-webpack-plugin");
const nextConfig = {
reactStrictMode: true,
webpack: (config) => {
config.plugins.push(new WindiCSSWebpackPlugin());
return config;
},
};
module.exports = nextConfig;