js-cookie import
miedzikd opened this issue · 0 comments
miedzikd commented
After migration to v1.0.11 I have one more issue when running webpack build
ERROR Failed to compile with 3 errors
error in ./node_modules/@square/svelte-store/lib/persisted/storage-utils.js
export 'get' (imported as 'Cookies') was not found in 'js-cookie' (possible exports: default)
error in ./node_modules/@square/svelte-store/lib/persisted/storage-utils.js
export 'set' (imported as 'Cookies') was not found in 'js-cookie' (possible exports: default)
error in ./node_modules/@square/svelte-store/lib/persisted/storage-utils.js
export 'remove' (imported as 'Cookies') was not found in 'js-cookie' (possible exports: default)
webpack compiled with 3 errors and 3 warnings
It looks like js-cookie has old typescript mappings in "@types/js-cookie" module?
More info here:
js-cookie/js-cookie#717