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:
parent
3afa7d1ce4
commit
2e69448f49
@ -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({
|
||||
|
Loading…
x
Reference in New Issue
Block a user