Closed 405go closed 3 years ago
I use webpack alias to reslove it like this: '@ctrl/tinycolor': path.resolve(__dirname, '../node_modules/@ctrl/tinycolor/dist/module/public_api')
es5 on main export is now supported in https://github.com/scttcper/tinycolor/releases/tag/v3.3.0
https://github.com/scttcper/tinycolor/pull/203