♻️ Restructure: Move Astro to repository root
BREAKING CHANGE: Astro project is now at repository root - Removed dealplustech-astro subdirectory - Moved all Astro files to root - Updated PostCSS config to .cjs - Removed old Next.js files ✅ 11 pages built successfully ✅ Cookie consent banner included ✅ Privacy/Terms links in footer ✅ Ready for Easypanel deployment (no root dir needed) Migration path: - Old structure: /dealplustech-astro/ - New structure: / (root)
This commit is contained in:
24
dealplustech-astro/node_modules/mdast-util-to-markdown/lib/util/compile-pattern.js
generated
vendored
24
dealplustech-astro/node_modules/mdast-util-to-markdown/lib/util/compile-pattern.js
generated
vendored
@@ -1,24 +0,0 @@
|
||||
/**
|
||||
* @import {CompilePattern} from '../types.js'
|
||||
*/
|
||||
|
||||
/**
|
||||
* @type {CompilePattern}
|
||||
*/
|
||||
export function compilePattern(pattern) {
|
||||
if (!pattern._compiled) {
|
||||
const before =
|
||||
(pattern.atBreak ? '[\\r\\n][\\t ]*' : '') +
|
||||
(pattern.before ? '(?:' + pattern.before + ')' : '')
|
||||
|
||||
pattern._compiled = new RegExp(
|
||||
(before ? '(' + before + ')' : '') +
|
||||
(/[|\\{}()[\]^$+*?.-]/.test(pattern.character) ? '\\' : '') +
|
||||
pattern.character +
|
||||
(pattern.after ? '(?:' + pattern.after + ')' : ''),
|
||||
'g'
|
||||
)
|
||||
}
|
||||
|
||||
return pattern._compiled
|
||||
}
|
||||
Reference in New Issue
Block a user