Skip to content

Commit

Permalink
fix(rollup): use browser versions if available (#13)
Browse files Browse the repository at this point in the history
We've never had combined node.js/browser dependencies so this was never
a problem but as per visjs/vis-timeline#328 we'll need this fix from now
on.
  • Loading branch information
Thomaash committed Feb 19, 2020
1 parent 1a2ed62 commit 4d0d0e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/module/generate-rollup-configuration/index.ts
Expand Up @@ -235,6 +235,7 @@ const generateRollupPluginArray = (
]
}),
nodeResolvePlugin({
browser: true,
extensions: [".js", ".json", ".ts"],
mainFields: ["jsnext", "module", "main"]
}),
Expand Down

0 comments on commit 4d0d0e5

Please sign in to comment.