Skip to content

1.4.0

Compare
Choose a tag to compare
@angelnikolov angelnikolov released this 22 Jan 17:27
· 79 commits to master since this release

Description

We migrated the project structure to es modules. Depending on what environment you build the project with (Node, web) you will get the correct assets imported.

Why

The default module format we used to support was CommonJS, which was non tree-shakeable. That resulted in the library adding quite a bit of code to webpack bundles (mainly due to the whole rxjs library being included).

Breaking changes

DOMStorageStrategy is now imported from ngx-cacheable directly like:

import { DOMStorageStrategy } from 'ngx-cacheable'