Skip to content

Can't import worker #243

Discussion options

You must be logged in to vote

Check if file-loader is properly installed by checking dependencies in package.json

You can also run it without worker by using this logic - https://jsstore.net/tutorial/connection/#webpack-without-web-worker

  1. Would jsstore save created db as db-file in userData directory? Or how to get the db created on previous app launch?
    ans - the db is made available to same user when app is launched. You only need to initiate it.
  2. Would jsstore require worker properly after building the app ?? Imho It looks a bit weird way of importing scripts, isn't it? :)
    ans - this will be bundled along with your other code. So it will work properly.

I hope this answer helps you. In doubt - please have a look at …

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@paulrevival
Comment options

@ujjwalguptaofficial
Comment options

@paulrevival
Comment options

@ujjwalguptaofficial
Comment options

Answer selected by ujjwalguptaofficial
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants