Skip to content

Commit

Permalink
use pollyfilled plyr for iife build
Browse files Browse the repository at this point in the history
  • Loading branch information
redxtech committed Nov 2, 2020
1 parent 5724242 commit 2c41bfd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,11 @@ if (!argv.format || argv.format === 'iife') {
sourcemap: true
},
plugins: [
replace({
"import Plyr from 'plyr'":
"import Plyr from 'plyr/dist/plyr.polyfilled'",
delimiters: ['', '']
}),
...baseConfig.plugins.preVue,
vue(baseConfig.plugins.vue),
...baseConfig.plugins.postVue,
Expand Down

0 comments on commit 2c41bfd

Please sign in to comment.