easyFormGenerator icon indicating copy to clipboard operation
easyFormGenerator copied to clipboard

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

Open hannyM opened this issue 5 years ago • 1 comments

Version

2.3.0

Directive

  • [ ] stepway
  • [ ] formViewer
  • [ ] dragdropway

Steps to reproduce

Expected behavior

What should happen

Actual behavior

What is happening

hannyM avatar May 11 '20 17:05 hannyM

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';

hannyM avatar May 11 '20 17:05 hannyM