mirror of
https://github.com/ruisaraiva19/favycon.git
synced 2026-09-12 19:51:07 +05:00
chore(deps): upgrade dependencies
This commit is contained in:
parent
da055a6d6c
commit
3e927a1d1d
Binary file not shown.
|
Before Width: | Height: | Size: 16 KiB |
@ -35,7 +35,7 @@ module.exports = ({ config, mode }) => {
|
||||
title: 'Favycon Storybook',
|
||||
excludeWarnings: true,
|
||||
alwaysNotify: true,
|
||||
contentImage: path.join(__dirname, 'logo.png'),
|
||||
contentImage: path.join(__dirname, '../public/favicon.png'),
|
||||
})
|
||||
)
|
||||
}
|
||||
|
||||
@ -1,14 +1,8 @@
|
||||
const path = require('path')
|
||||
require('dotenv').config()
|
||||
|
||||
const isProduction = process.env.NODE_ENV === 'production'
|
||||
|
||||
module.exports = {
|
||||
experimental: {
|
||||
modern: true,
|
||||
polyfillsOptimization: true,
|
||||
},
|
||||
|
||||
webpack(config, { dev, isServer }) {
|
||||
const splitChunks = config.optimization && config.optimization.splitChunks
|
||||
if (splitChunks) {
|
||||
@ -26,11 +20,6 @@ module.exports = {
|
||||
}
|
||||
}
|
||||
|
||||
config.resolve.alias['components'] = path.join(__dirname, 'components')
|
||||
config.resolve.alias['pages'] = path.join(__dirname, 'pages')
|
||||
config.resolve.alias['styles'] = path.join(__dirname, 'styles')
|
||||
config.resolve.alias['utils'] = path.join(__dirname, 'utils')
|
||||
config.resolve.alias['hooks'] = path.join(__dirname, 'hooks')
|
||||
config.resolve.alias['react'] = 'preact/compat'
|
||||
config.resolve.alias['react-dom'] = 'preact/compat'
|
||||
config.resolve.alias['react-ssr-prepass'] = 'preact-ssr-prepass'
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
"adm-zip": "0.4.14",
|
||||
"classnames": "2.2.6",
|
||||
"multer": "1.4.2",
|
||||
"next": "9.3.6",
|
||||
"next": "9.4.0",
|
||||
"nprogress": "0.2.0",
|
||||
"object-fit-images": "3.2.4",
|
||||
"preact": "10.4.1",
|
||||
@ -85,12 +85,12 @@
|
||||
"@types/nprogress": "0.2.0",
|
||||
"@types/object-fit-images": "3.2.0",
|
||||
"@types/prismjs": "1.16.0",
|
||||
"@types/react": "16.9.34",
|
||||
"@types/react": "16.9.35",
|
||||
"@types/react-modal": "3.10.5",
|
||||
"@types/react-transition-group": "4.2.4",
|
||||
"@types/sharp": "0.25.0",
|
||||
"@typescript-eslint/eslint-plugin": "2.31.0",
|
||||
"@typescript-eslint/parser": "2.31.0",
|
||||
"@typescript-eslint/eslint-plugin": "2.32.0",
|
||||
"@typescript-eslint/parser": "2.32.0",
|
||||
"all-contributors-cli": "6.14.2",
|
||||
"babel-eslint": "10.1.0",
|
||||
"babel-loader": "8.1.0",
|
||||
|
||||
@ -17,14 +17,7 @@
|
||||
"noFallthroughCasesInSwitch": true,
|
||||
"noUnusedLocals": true,
|
||||
"noUnusedParameters": true,
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"components/*": ["components/*"],
|
||||
"pages/*": ["pages/*"],
|
||||
"theme/*": ["styles/*"],
|
||||
"utils/*": ["utils/*"],
|
||||
"hooks/*": ["hooks/*"]
|
||||
}
|
||||
"baseUrl": "."
|
||||
},
|
||||
"exclude": ["node_modules"],
|
||||
"include": ["**/*.ts", "**/*.tsx", "./*.js", "./public/**/*.js"]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user