We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
At
var filename = path.resolve(__dirname, 'module', module + '.js'); if (!fs.existsSync(filename)) {
Where filename === "/module/URLTokenizer.js"
I'm importing it inside electron.
Can we change a way to load module?
The text was updated successfully, but these errors were encountered:
Any chance to solve this?
I think requiring fs and path eliminate the usage in the browser.
Sorry, something went wrong.
Consider using https://www.npmjs.com/package/babel-plugin-static-fs
I have an idea: just like what moment do, we can separate main script and plugin. Let user import and passing plugin to the main script.
In this way, we can enjoy the tree shaking, and keep the plugin architecture.
No branches or pull requests
At
Where filename === "/module/URLTokenizer.js"
I'm importing it inside electron.
Can we change a way to load module?
The text was updated successfully, but these errors were encountered: