Procházet zdrojové kódy

chore: integrate code-inspector-plugin (#3900)

tags/0.6.6
TinsFox před 1 rokem
rodič
revize
8746e48df0
Žádný účet není propojen s e-mailovou adresou tvůrce revize
3 změnil soubory, kde provedl 2646 přidání a 2924 odebrání
  1. 5
    0
      web/next.config.js
  2. 1
    0
      web/package.json
  3. 2640
    2924
      web/yarn.lock

+ 5
- 0
web/next.config.js Zobrazit soubor

const { codeInspectorPlugin } = require('code-inspector-plugin')
const withMDX = require('@next/mdx')({ const withMDX = require('@next/mdx')({
extension: /\.mdx?$/, extension: /\.mdx?$/,
options: { options: {


/** @type {import('next').NextConfig} */ /** @type {import('next').NextConfig} */
const nextConfig = { const nextConfig = {
webpack: (config, { dev, isServer }) => {
config.plugins.push(codeInspectorPlugin({ bundler: 'webpack' }))
return config
},
productionBrowserSourceMaps: false, // enable browser source map generation during the production build productionBrowserSourceMaps: false, // enable browser source map generation during the production build
// Configure pageExtensions to include md and mdx // Configure pageExtensions to include md and mdx
pageExtensions: ['ts', 'tsx', 'js', 'jsx', 'md', 'mdx'], pageExtensions: ['ts', 'tsx', 'js', 'jsx', 'md', 'mdx'],

+ 1
- 0
web/package.json Zobrazit soubor

"@types/sortablejs": "^1.15.1", "@types/sortablejs": "^1.15.1",
"@types/uuid": "^9.0.8", "@types/uuid": "^9.0.8",
"autoprefixer": "^10.4.14", "autoprefixer": "^10.4.14",
"code-inspector-plugin": "^0.13.0",
"cross-env": "^7.0.3", "cross-env": "^7.0.3",
"eslint": "^8.36.0", "eslint": "^8.36.0",
"eslint-config-next": "^14.0.4", "eslint-config-next": "^14.0.4",

+ 2640
- 2924
web/yarn.lock
Diff nebyl zobrazen, protože je příliš veliký
Zobrazit soubor


Načítá se…
Zrušit
Uložit