1
0
mirror of https://github.com/videojs/video.js.git synced 2025-03-31 22:22:09 +02:00

chore: switch from deprecated jsnext, main options to mainFields (#6075)

This commit is contained in:
Grzegorz Blaszczyk 2019-07-26 19:49:01 +02:00 committed by Gary Katsevman
parent 3afa7d1ce4
commit 2e69448f49

View File

@ -30,8 +30,7 @@ const onwarn = (warning) => {
const primedIgnore = ignore(['videojs-vtt.js']);
const primedResolve = resolve({
jsnext: true,
main: true,
mainFields: ['jsnext:main', 'module', 'main'],
browser: true
});
const primedCjs = commonjs({