CurrencyCloud / currencycloud-js

MIT License
20 stars 26 forks source link

Change ../package imports to ../package.json #46

Open mattpocock opened 4 years ago

mattpocock commented 4 years ago

When using webpack with this project with custom aliases, importing from package doesn't work. This way is more specific and doesn't rely on a certain (albeit default) webpack config.

My webpack resolve.extensions: extensions: ['.ts', '.tsx', '.mjs', '.js'],