Using Favorites with Webpack
-
Hi,
I would like to use Favorites in combination with Webpack, so I’ve unchecked the “Output Plugin Javascript” option, copied the code it appeared, pasted it in a Bookmarks.js file I’ve created and finally imported that file in my main.js, like so:
import './modules/Bookmarks';
But I get two errors:
1) Uncaught ReferenceError: favorites_data is not defined;
2) Favorites.Factory is not a constructorI also noticed no CDATA for the plugin is added to the page.
I would really appreciate some help!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Using Favorites with Webpack’ is closed to new replies.