apps/web: add next-recompose-plugins
This commit is contained in:
parent
64c6361ffd
commit
bb586d09be
@ -5,6 +5,7 @@ const urls = require('./constants/urls');
|
||||
const { devices } = require('./config/ui');
|
||||
const { publicRuntimeConfigSchema } = require('./config/schema/runtime-config');
|
||||
const { serverRuntimeConfigSchema } = require('./config/schema/runtime-config');
|
||||
const { Config } = require('next-recompose-plugins');
|
||||
|
||||
const env = envSchema.parse(process.env);
|
||||
|
||||
@ -17,8 +18,7 @@ function buildFaviconRewrite(source) {
|
||||
};
|
||||
}
|
||||
|
||||
/** @type {import('next').NextConfig} */
|
||||
module.exports = {
|
||||
module.exports = new Config({
|
||||
basePath: env.BASE_PATH,
|
||||
compiler: {
|
||||
styledComponents: true,
|
||||
@ -71,4 +71,4 @@ module.exports = {
|
||||
serverRuntimeConfig: serverRuntimeConfigSchema.parse(env),
|
||||
swcMinify: true,
|
||||
transpilePackages: ['ui', 'tools', 'antd'],
|
||||
};
|
||||
}).build();
|
||||
|
||||
@ -25,6 +25,7 @@
|
||||
"mobx": "^6.8.0",
|
||||
"mobx-react-lite": "^3.4.0",
|
||||
"next": "^13.4.7",
|
||||
"next-recompose-plugins": "^2.0.0",
|
||||
"normalize.css": "^8.0.1",
|
||||
"radash": "^10.7.0",
|
||||
"react": "^18.2.0",
|
||||
|
||||
19
yarn.lock
19
yarn.lock
@ -6168,6 +6168,11 @@ is-potential-custom-element-name@^1.0.1:
|
||||
resolved "https://registry.yarnpkg.com/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz#171ed6f19e3ac554394edf78caa05784a45bebb5"
|
||||
integrity sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==
|
||||
|
||||
is-promise@^4.0.0:
|
||||
version "4.0.0"
|
||||
resolved "https://registry.yarnpkg.com/is-promise/-/is-promise-4.0.0.tgz#42ff9f84206c1991d26debf520dd5c01042dd2f3"
|
||||
integrity sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==
|
||||
|
||||
is-proto-prop@^2.0.0:
|
||||
version "2.0.0"
|
||||
resolved "https://registry.yarnpkg.com/is-proto-prop/-/is-proto-prop-2.0.0.tgz#99ab2863462e44090fd083efd1929058f9d935e1"
|
||||
@ -7438,6 +7443,15 @@ natural-compare@^1.4.0:
|
||||
resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7"
|
||||
integrity sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==
|
||||
|
||||
next-recompose-plugins@^2.0.0:
|
||||
version "2.0.0"
|
||||
resolved "https://registry.yarnpkg.com/next-recompose-plugins/-/next-recompose-plugins-2.0.0.tgz#7d77c63ea7ff5c06e2e8504c9ca8c6b9bdb4c7f2"
|
||||
integrity sha512-Dfg/5RVnbVCaJqAGt+Ikf5IudZ5mQ8PHHqcPT2oLeXA8fi7cxFIBF2DfzTcLz4AwFRy1x9uD8wgqSM5j98r6EA==
|
||||
dependencies:
|
||||
is-promise "^4.0.0"
|
||||
semver "^7.3.8"
|
||||
take-n-pipe "^1.1.1"
|
||||
|
||||
next@^13.4.7:
|
||||
version "13.4.7"
|
||||
resolved "https://registry.yarnpkg.com/next/-/next-13.4.7.tgz#2ab20e6fada2e25cb81bd17f68956705ffd9824e"
|
||||
@ -9601,6 +9615,11 @@ synckit@^0.8.4, synckit@^0.8.5:
|
||||
"@pkgr/utils" "^2.3.1"
|
||||
tslib "^2.5.0"
|
||||
|
||||
take-n-pipe@^1.1.1:
|
||||
version "1.1.1"
|
||||
resolved "https://registry.yarnpkg.com/take-n-pipe/-/take-n-pipe-1.1.1.tgz#6467eb0a6c768b1f183d7d0ae814136442ac4479"
|
||||
integrity sha512-BPD//p7LC1AzA8jsIBgUqJEfv4lWSEGclTr6mQBJa4nBtHsFi0F+biD90E1A1OosO3+Y4sc0XM4M7ucxnYxoPA==
|
||||
|
||||
tapable@^2.2.0:
|
||||
version "2.2.1"
|
||||
resolved "https://registry.yarnpkg.com/tapable/-/tapable-2.2.1.tgz#1967a73ef4060a82f12ab96af86d52fdb76eeca0"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user