-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Line 37 in db14d1c
| "default": "./node-esm.js" |
As because of this, the default is the node runtime and it will break used in a PWA.
Possible workaround in nextjs:
// next.config.js
const nextConfig = {
.
.
.
webpack: function(config, options) {
config.resolve.alias["rxing-wasm] = path.resolve(__dirname, "./node_modules/rxing-wasm/rxing_wasm.js");
return config;
}
};
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working