Skip to content

Commit 312c89c

Browse files
Update next.config.js
1 parent 0fcedb0 commit 312c89c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

next.config.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,12 @@ module.exports = {
77
locales: ['en', 'ru'],
88
defaultLocale: "en",
99
},
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)