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
I use this module in an Angular application and have a warning:
Warning: `filename.ts` depends on 'punycode'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
And I import using import { toASCII } from 'punycode';
Do you have any plans to support es6 modules?
The text was updated successfully, but these errors were encountered:
If the built version of punycode.es6.js can be renamed to punycode.es6.mjs it will be possible to use it in esm projects with regular import, ex. import punycode from 'punycode/punycode.es6.mjs'
I use this module in an Angular application and have a warning:
And I import using
import { toASCII } from 'punycode';
Do you have any plans to support es6 modules?
The text was updated successfully, but these errors were encountered: