-
-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
reading-time v2 #38
Comments
All of this sounds great to me, thanks! I finally moved so I should be more available starting next week. I should be able to help here. Ref #18 for stuff related to the API changes. |
Just jumping in to say that, with my current setup, node: {
global: true
},
resolve: {
fallback: {
stream: 'stream-browserify'
}
},
plugins: [
new webpack.ProvidePlugin({
process: 'process/browser',
Buffer: ['buffer', 'Buffer']
})
] and had to install The problematic line was |
Not sure if this is the same issue but I had problems with 1.5 on Vite. Using 1.4 for now.
|
@sanderjson Yes, your problem is the same as the previous one. |
Here are a few changes we can make in v2 (most of which @ngryman has also mentioned), roughly in order of decreasing importance:
text
from the function return;Remove the badly namedIOptions
export;Migrate to TypeScript completely;Use a class-based implementation ofreadingTimeStream
;Change the testing library from mocha to Jest.@ngryman If you have limited availability, I can be here to help.
The text was updated successfully, but these errors were encountered: