Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove meta env #713

Merged
merged 2 commits into from
Oct 11, 2023
Merged

Remove meta env #713

merged 2 commits into from
Oct 11, 2023

Conversation

Grafikart
Copy link
Collaborator

Queen v2 uses webpack and having a variable based on meta.env creates an issue with building

WARNING in ./node_modules/@inseefr/lunatic/lib/utils/env.js 8:13-24
Critical dependency: Accessing import.meta directly is unsupported (only property access or destructuring is supported)

Originally I created the intermediary variable to make it work with TypeScript. This MR removes this intermediary variable to avoid issue with webpack.

@Grafikart Grafikart changed the base branch from main to develop October 9, 2023 08:10
@Grafikart Grafikart requested a review from QRuhier October 9, 2023 08:11
@sonarcloud
Copy link

sonarcloud bot commented Oct 9, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@laurentC35 laurentC35 merged commit a37cc7d into develop Oct 11, 2023
7 of 9 checks passed
@laurentC35 laurentC35 deleted the fix/meta-env branch October 30, 2023 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants