Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
Frontend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
matefun
Frontend
Commits
cd3a7643
Commit
cd3a7643
authored
2 years ago
by
Nicolas Camera
Browse files
Options
Downloads
Patches
Plain Diff
WA para utilizar la variable process
parent
9fd3259e
No related branches found
Branches containing commit
No related tags found
1 merge request
!1
Se actualiza Angular a la versión 13 y se resuelven vulnerabilidades
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Frontend Angular 4/src/polyfills.ts
+3
-3
3 additions, 3 deletions
Frontend Angular 4/src/polyfills.ts
with
3 additions
and
3 deletions
Frontend Angular 4/src/polyfills.ts
+
3
−
3
View file @
cd3a7643
...
...
@@ -61,6 +61,6 @@ import "zone.js/dist/zone"; // Included with Angular CLI.
*/
// import 'intl'; // Run `npm install --save intl`.
//
No sé exactamente qué hace este polyfill,
p
e
ro
resuleve un gran error de webpack y function plot
//
que no encuentra ciertas dependencias
//
(window as any).process = { env: { DEBUG: undefined } };
//
WA para utilizar la variable global
pro
cess. Esta es utilizada por una de
//
las dependencias (key-pressed) de function-plot-2
(
window
as
any
).
process
=
{
env
:
{
DEBUG
:
undefined
}
};
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment