ensure browser resolutions are used

This commit is contained in:
Guy Bedford 2021-08-26 13:21:18 -07:00 committed by Ralf Becker
parent 2526b0460e
commit 2ba73fc91c

View File

@ -103,7 +103,9 @@ const config = {
}
},
// resolve (external) node modules from node_modules directory
resolve(),
resolve({
browser: true
}),
{
transform (code, id) {
if (id.endsWith('.ts'))