Find problems in your code on build step
npm install -D @rambler-tech/razzle-eslint eslint
or
yarn add -D @rambler-tech/razzle-eslint eslint
Add the plugin to razzle.config.js
const ESLintPlugin = require('@rambler-tech/razzle-eslint')
module.exports = {
plugins: [
ESLintPlugin(),
],
modifyWebpackConfig({webpackConfig}) {
// ...
return webpackConfig
}
}