Skip to content

v3.0.0

Compare
Choose a tag to compare
@livingdocs-automation livingdocs-automation released this 02 Aug 21:54
· 349 commits to master since this release

3.0.0 (2021-08-02)

chore

  • Change the module to use a named export for Editable (58f9a24)

BREAKING CHANGES

  • The module exports changed from a default export to a named export

For Import:
change

import Editable from '@livingdocs/editable.js'

to

import {Editable} from '@livingdocs/editable.js'

For require:
change

const Editable = require('@livingdocs/editable.js')

to

const {Editable} = require('@livingdocs/editable.js')

The source code doesn't get transpiled anymore into the lib directory.
This simplifies the usage together with npm link as there's a build step less in between.

The files in the dist folder should work as before.