ВЛ
Size: a a a
ВЛ
А
V
import "../styles.css";
export default () => <div className="i" />
module.exports = withPlugins([
[
withOptimizedImages,
{
/* config for next-optimized-images */
handleImages: ["jpeg", "png", "svg", "webp", "gif"],
optimizeImagesInDev: true
}
],
[
withCSS,
{
postcssLoaderOptions: {
plugins: [pobem],
parser: true,
config: {
ctx: {
theme: "zZ"
}
}
}
}
]
]);
🦜
🦜
import "../styles.css";
export default () => <div className="i" />
module.exports = withPlugins([
[
withOptimizedImages,
{
/* config for next-optimized-images */
handleImages: ["jpeg", "png", "svg", "webp", "gif"],
optimizeImagesInDev: true
}
],
[
withCSS,
{
postcssLoaderOptions: {
plugins: [pobem],
parser: true,
config: {
ctx: {
theme: "zZ"
}
}
}
}
]
]);
V
🦜
🦜
V
Р
V
V
"dependencies": {
"@bem-react/classname": "^1.5.6",
"@bem-react/core": "^2.0.6",
"imagemin-mozjpeg": "^8.0.0",
"imagemin-optipng": "^7.1.0",
"imagemin-svgo": "^7.0.0",
"isomorphic-unfetch": "3.0.0",
"next": "latest",
"next-compose-plugins": "^2.2.0",
"next-optimized-images": "^2.5.4",
"pobem": "^1.1.2",
"postcss": "^7.0.26",
"postcss-cli": "^7.1.0",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"svg-sprite-loader": "4.1.3"
},
"devDependencies": {
"@storybook/react": "^5.3.12",
"@types/node": "^13.7.0",
"@types/react": "^16.9.16",
"@types/react-dom": "^16.9.4",
"@types/svg-sprite-loader": "^3.9.1",
"typescript": "3.7.5"
},
port "../styles.css";му просто пох
import { AppProps } from "next/app";
export default function MyApp({ Component, pageProps }: AppProps) {
<Component {...pageProps} />;
}
е
V
V
V
DO
DO
V