chore(deps): update dependency @glimmer/syntax to v0.94.1 (#17033)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: fisker Cheung <lionkay@gmail.com>
This commit is contained in:
1 parent
19db263dd5
commit
fb0c7ed887
4 files changed
+30
-33
No files matched your search
@@ -553,6 +553,11 @@ const pluginFiles = [
|
||||
{
|
||||
module: getPackageFile("@glimmer/syntax/dist/dev/index.js"),
|
||||
process(text) {
|
||||
text = text.replace(
|
||||
'import { DEBUG } from "@glimmer/env";',
|
||||
"const DEBUG = false;",
|
||||
);
|
||||
|
||||
// This passed to plugins, our plugin don't need access to the options
|
||||
text = text.replace(/(?<=\sconst syntax = )\{.*?\n\}(?=;\n)/su, "{}");
|
||||
|
||||
|
||||
@@ -26,7 +26,8 @@ function transform(original, file) {
|
||||
"node_modules/@typescript-eslint/typescript-estree/",
|
||||
),
|
||||
) ||
|
||||
file.startsWith(path.join(PROJECT_ROOT, "node_modules/meriyah/"))
|
||||
file.startsWith(path.join(PROJECT_ROOT, "node_modules/meriyah/")) ||
|
||||
file.startsWith(path.join(PROJECT_ROOT, "node_modules/@glimmer/"))
|
||||
)
|
||||
) {
|
||||
return original;
|
||||
|
||||
Reference in new issue
Block a user