An Angular 2 Webpack Starter kit featuring Angular 2, Router, TypeScript, and Webpack by AngularClass
import ‘lodash';
does not complain, and _.merge
is there
import ‘lodash/merge';
does not complain, but _.merge
is not there
import merge from ‘lodash/merge';
complains that Cannot find module 'lodash/merge’
, same with import { merge }
or import * as merge
import * as merge from 'lodash/merge'
would have worked... except you don't want a bare object merge
you want _.merge
lodash/merge
the actual location in node_modules
? Cannot find module 'lodash/merge'.
WARNING in ./~/primeng/components/datagrid/datagrid.js
Cannot find source file 'datagrid.ts': Error: Cannot resolve 'file' or 'directory' ./datagrid.ts in /Users/nsmith/projects/cohortable/node_modules/primeng/components/datagrid
providerStore
requires my reducers).. so where should that go?