MCPcopy Index your code
hub / github.com/CaptainLiao/vite-plugin-webpackchunkname

github.com/CaptainLiao/vite-plugin-webpackchunkname @v0.0.12

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.0.12 ↗ · + Follow
19 symbols 41 edges 9 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Features

Use webpackChunkName config in vue-router by vite as well as webpack do.

ℹ️ Only support for Vite 2.

Install

Install the package from npm (or yarn, or pnpm).

npm install --save-dev vite-plugin-webpackchunkname

Basic usage

Add it to vite.config.ts

// vite.config.ts
import { manualChunksPlugin } from 'vite-plugin-webpackchunkname'
// Other dependencies...

export default defineConfig({
  plugins: [
    manualChunksPlugin(),
  ]
})

License

Copyright CaptainLiao

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Core symbols most depended-on inside this repo

getNodeModulesName
called by 2
src/index.ts
formatChunkName
called by 2
src/manualChunksConfig.ts
getFileName
called by 2
src/share.ts
appModuleId2chunkNamesMap
called by 1
src/index.ts
getImportersChunkNames
called by 1
src/index.ts
getDynamicModuleName
called by 1
src/index.ts
nodeModuleId2issuerMap
called by 1
src/index.ts
isCSSRequest
called by 1
src/manualChunksConfig.ts

Shape

Function 19

Languages

TypeScript100%

Modules by API surface

src/index.ts10 symbols
src/manualChunksConfig.ts6 symbols
src/share.ts3 symbols

For agents

$ claude mcp add vite-plugin-webpackchunkname \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page