Skip to content

Commit bac734a

Browse files
Update next.config.js
1 parent 082c766 commit bac734a

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

next.config.js

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,13 @@ module.exports = {
66
i18n: {
77
locales: ['en', 'ru'],
88
defaultLocale: "en",
9-
}
9+
},
10+
webpack: (config) => {
11+
config.module.rules.push({
12+
test: /\.css$/i,
13+
issuer: /\.[jt]sx?$/,
14+
use: ['style-loader', 'css-loader'],
15+
});
16+
return config;
17+
},
1018
}

0 commit comments

Comments
 (0)