Comments (2)
Hi
It is not recommended to use the Node module in a browser context. Instead, the Hyphenoply loader should be included. This can ensure that the browser does not load the entire package unnecessarily if it already supports hyphenation natively.
Now, I don't know the exact use case, but I'll try to give some guidance anyway. In my opinion, the error messages are quite clear: the Node module needs the functions "path", "url" and "https", which are no longer automatically available as a polyfill since Webpack 5 and have to be installed manually. If these are installed according to the instructions in the error messages, it should theoretically work (untested).
from hyphenopoly.
I close this issue, because there was no activity in the last 2 months. Feel free to reopen anytime.
from hyphenopoly.
Related Issues (20)
- Is late instantion of a language possible? HOT 3
- tracking issue for next major version (5.0.0) HOT 1
- hyphenopoly vs client hyphenation HOT 2
- Hyphenopoly doesn't seem to work with Firefox 94 HOT 5
- Using Hyphenopoly with other lib (paged.js inside) HOT 4
- Wrong hyphen characters on MacOs with chromium browsers HOT 5
- Example Code HOT 1
- en-us missing, also when not used HOT 2
- Callback when hyphenation is finished HOT 2
- Allow loader overwrite HOT 6
- Stop using fs module HOT 3
- Optionally abort fetch in loader HOT 1
- Add language? HOT 4
- It doesn't work with Italian (maybe?) HOT 2
- Beta versions should not be the latest official version with package managers HOT 1
- Remove added hyphenation HOT 7
- Provide Hyphenopoly module path to loader() / loaderSync()? HOT 1
- unify return type of (node module's) Hyphenopoly.config
- enhanced pt patterns
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hyphenopoly.