kutlugsahin / ngx-smooth-dnd

angular wrapper for smooth-dnd
165 stars 30 forks source link

Lint error while building the project #4

Closed jatin2505 closed 6 years ago

jatin2505 commented 6 years ago

I am trying to use this in a project but it breaks my build. Can you kindly look at the following error:

[!] Error: 'constants' is not exported by node_modules/ngx-smooth-dnd/node_modules/smooth-dnd/dist/index.js https://github.com/rollup/rollup/wiki/Troubleshooting#name-is-not-exported-by-module node_modules/ngx-smooth-dnd/esm5/ngx-smooth-dnd.js (2:20) 1: import { Component, ViewChild, ContentChildren, Input, Output, EventEmitter, NgZone, NgModule } from ''; 2: import SmoothDnD, { constants, dropHandlers } from 'smooth-dnd'; ^ 3: import { CommonModule } from ''; 4: var DraggableComponent = (function () {