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

Issue when loading the eda in angular 9 application --> ./node_modules/easy-form-generator/dist/eda.stepway.js 1:4195-4202 Critical dependency: require function is used in a way in which dependencies cannot be statically extracted #91

Open
3 tasks
hannyM opened this issue May 11, 2020 · 1 comment

Comments

@hannyM
Copy link

hannyM commented May 11, 2020

Version

2.3.0

Directive

  • stepway
  • formViewer
  • dragdropway

Steps to reproduce

Expected behavior

What should happen

Actual behavior

What is happening

@hannyM hannyM changed the title Issue when loading the eda in angular application --> ./node_modules/easy-form-generator/dist/eda.stepway.js 1:4195-4202 Critical dependency: require function is used in a way in which dependencies cannot be statically extracted Issue when loading the eda in angular 9 application --> ./node_modules/easy-form-generator/dist/eda.stepway.js 1:4195-4202 Critical dependency: require function is used in a way in which dependencies cannot be statically extracted May 11, 2020
@hannyM
Copy link
Author

hannyM commented May 11, 2020

I want to consume the eda library with angular 1 functionality in angular 9. Made all configuration changesto make Js compatable to ts and loaded all reqy=uired files in angular.json. At app.module used imports as shown. Its throwing warning and page is loaded without section and breadcome added in eda.stepaway
import 'easy-form-generator/dist/eda.stepway';
import 'easy-form-generator/dist/eda.easyFormViewer';

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

No branches or pull requests

1 participant