You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pkg/package.json should set the type field to module for web target, otherwise Node.js complains about this:
(node:32548) [MODULE_TYPELESS_PACKAGE_JSON] Warning: file:///D:/.../pkg/src.js parsed as an ES module because module syntax was detected; to avoid the performance penalty of syntax detection, add "type": "module" to D:\...\pkg\package.json
Yes, I used the web target for Node.js... (It was a quick test)
The text was updated successfully, but these errors were encountered:
pkg/package.json
should set thetype
field tomodule
forweb
target, otherwise Node.js complains about this:Yes, I used the
web
target for Node.js... (It was a quick test)The text was updated successfully, but these errors were encountered: