mirror of
https://github.com/filecoin-project/slate.git
synced 2024-09-11 22:07:08 +03:00
- add useWorker to interact with web workers declaratively - update next to 11.1.2 to support web-workers - update next config to ignore eslint errors during build
13 lines
296 B
JavaScript
13 lines
296 B
JavaScript
const withOffline = require("next-offline");
|
|
|
|
const nextConfig = {
|
|
webpack5: true,
|
|
eslint: {
|
|
// Warning: This allows production builds to successfully complete even if
|
|
// your project has ESLint errors.
|
|
ignoreDuringBuilds: true,
|
|
},
|
|
};
|
|
|
|
module.exports = withOffline(nextConfig);
|