Skip to content

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

Description

@hannyM

Version

2.3.0

Directive

  • stepway
  • formViewer
  • dragdropway

Steps to reproduce

Expected behavior

What should happen

Actual behavior

What is happening

Activity

  1. 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 [/+] on May 11, 2020
  2. hannyM commented on May 11, 2020

    @hannyM
    Author

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions