Files
Laca-City/backend/node_modules/webpack/schemas/plugins/SourceMapDevToolPlugin.json
PhongPham c65cc97a33 🎯 MapView v2.0 - Global Deployment Ready
 MAJOR FEATURES:
• Auto-zoom intelligence với smart bounds fitting
• Enhanced 3D GPS markers với pulsing effects
• Professional route display với 6-layer rendering
• Status-based parking icons với availability indicators
• Production-ready build optimizations

🗺️ AUTO-ZOOM FEATURES:
• Smart bounds fitting cho GPS + selected parking
• Adaptive padding (50px) cho visual balance
• Max zoom control (level 16) để tránh quá gần
• Dynamic centering khi không có selection

🎨 ENHANCED VISUALS:
• 3D GPS marker với multi-layer pulse effects
• Advanced parking icons với status colors
• Selection highlighting với animation
• Dimming system cho non-selected items

🛣️ ROUTE SYSTEM:
• OpenRouteService API integration
• Multi-layer route rendering (glow, shadow, main, animated)
• Real-time distance & duration calculation
• Visual route info trong popup

📱 PRODUCTION READY:
• SSR safe với dynamic imports
• Build errors resolved
• Global deployment via Vercel
• Optimized performance

🌍 DEPLOYMENT:
• Vercel: https://whatever-ctk2auuxr-phong12hexdockworks-projects.vercel.app
• Bundle size: 22.8 kB optimized
• Global CDN distribution
• HTTPS enabled

💾 VERSION CONTROL:
• MapView-v2.0.tsx backup created
• MAPVIEW_VERSIONS.md documentation
• Full version history tracking
2025-07-20 19:52:16 +07:00

152 lines
4.5 KiB
JSON

{
"definitions": {
"rule": {
"description": "Include source maps for modules based on their extension (defaults to .js and .css).",
"anyOf": [
{
"instanceof": "RegExp",
"tsType": "RegExp"
},
{
"type": "string",
"minLength": 1
}
]
},
"rules": {
"description": "Include source maps for modules based on their extension (defaults to .js and .css).",
"anyOf": [
{
"type": "array",
"items": {
"description": "A rule condition.",
"oneOf": [
{
"$ref": "#/definitions/rule"
}
]
}
},
{
"$ref": "#/definitions/rule"
}
]
}
},
"title": "SourceMapDevToolPluginOptions",
"type": "object",
"additionalProperties": false,
"properties": {
"append": {
"description": "Appends the given value to the original asset. Usually the #sourceMappingURL comment. [url] is replaced with a URL to the source map file. false disables the appending.",
"anyOf": [
{
"description": "Append no SourceMap comment to the bundle, but still generate SourceMaps.",
"enum": [false, null]
},
{
"type": "string",
"minLength": 1
},
{
"instanceof": "Function",
"tsType": "((pathData: import(\"../../lib/Compilation\").PathData, assetInfo?: import(\"../../lib/Compilation\").AssetInfo) => string)"
}
]
},
"columns": {
"description": "Indicates whether column mappings should be used (defaults to true).",
"type": "boolean"
},
"debugIds": {
"description": "Emit debug IDs into source and SourceMap.",
"type": "boolean"
},
"exclude": {
"description": "Exclude modules that match the given value from source map generation.",
"oneOf": [
{
"$ref": "#/definitions/rules"
}
]
},
"fallbackModuleFilenameTemplate": {
"description": "Generator string or function to create identifiers of modules for the 'sources' array in the SourceMap used only if 'moduleFilenameTemplate' would result in a conflict.",
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"description": "Custom function generating the identifier.",
"instanceof": "Function",
"tsType": "import('../../lib/ModuleFilenameHelpers').ModuleFilenameTemplateFunction"
}
]
},
"fileContext": {
"description": "Path prefix to which the [file] placeholder is relative to.",
"type": "string"
},
"filename": {
"description": "Defines the output filename of the SourceMap (will be inlined if no value is provided).",
"anyOf": [
{
"description": "Disable separate SourceMap file and inline SourceMap as DataUrl.",
"enum": [false, null]
},
{
"type": "string",
"absolutePath": false,
"minLength": 1
}
]
},
"include": {
"description": "Include source maps for module paths that match the given value.",
"oneOf": [
{
"$ref": "#/definitions/rules"
}
]
},
"module": {
"description": "Indicates whether SourceMaps from loaders should be used (defaults to true).",
"type": "boolean"
},
"moduleFilenameTemplate": {
"description": "Generator string or function to create identifiers of modules for the 'sources' array in the SourceMap.",
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"description": "Custom function generating the identifier.",
"instanceof": "Function",
"tsType": "import('../../lib/ModuleFilenameHelpers').ModuleFilenameTemplateFunction"
}
]
},
"namespace": {
"description": "Namespace prefix to allow multiple webpack roots in the devtools.",
"type": "string"
},
"noSources": {
"description": "Omit the 'sourceContents' array from the SourceMap.",
"type": "boolean"
},
"publicPath": {
"description": "Provide a custom public path for the SourceMapping comment.",
"type": "string"
},
"sourceRoot": {
"description": "Provide a custom value for the 'sourceRoot' property in the SourceMap.",
"type": "string"
},
"test": {
"$ref": "#/definitions/rules"
}
}
}