Update npm packages to latest versions
Fix JavaScript sourcemap paths to show full file locations Implement --build-debug flag and complete Build UI streaming Add xterm.js terminal UI and fix asset path routing Add RSpade Build UI service with WebSocket support 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
10
node_modules/@rollup/plugin-replace/README.md
generated
vendored
Executable file → Normal file
10
node_modules/@rollup/plugin-replace/README.md
generated
vendored
Executable file → Normal file
@@ -61,14 +61,14 @@ In addition to the properties and values specified for replacement, users may al
|
||||
### `delimiters`
|
||||
|
||||
Type: `Array[String, String]`<br>
|
||||
Default: `['\\b', '\\b(?!\\.)']`
|
||||
Default: `['(?<![_$a-zA-Z0-9\\xA0-\\uFFFF])', '(?![_$a-zA-Z0-9\\xA0-\\uFFFF])(?!\\.)']`
|
||||
|
||||
Specifies the boundaries around which strings will be replaced. By default, delimiters are [word boundaries](https://www.regular-expressions.info/wordboundaries.html) and also prevent replacements of instances with nested access. See [Word Boundaries](#word-boundaries) below for more information.
|
||||
Specifies the boundaries around which strings will be replaced. By default, delimiters match JavaScript identifier boundaries and also prevent replacements of instances with nested access. See [Word Boundaries](#word-boundaries) below for more information.
|
||||
For example, if you pass `typeof window` in `values` to-be-replaced, then you could expect the following scenarios:
|
||||
|
||||
- `typeof window` **will** be replaced
|
||||
- `typeof window.document` **will not** be replaced due to `(?!\.)` boundary
|
||||
- `typeof windowSmth` **will not** be replaced due to a `\b` boundary
|
||||
- `typeof window.document` **will not** be replaced due to the `(?!\.)` boundary
|
||||
- `typeof windowSmth` **will not** be replaced due to identifier boundaries
|
||||
|
||||
Delimiters will be used to build a `Regexp`. To match special characters (any of `.*+?^${}()|[]\`), be sure to [escape](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions#escaping) them.
|
||||
|
||||
@@ -194,7 +194,7 @@ replace({
|
||||
|
||||
## Word Boundaries
|
||||
|
||||
By default, values will only match if they are surrounded by _word boundaries_.
|
||||
By default, values will only match if they are surrounded by _word boundaries_ that respect JavaScript's rules for valid identifiers (including `$` and `_` as valid identifier characters).
|
||||
|
||||
Consider the following options and build file:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user