Revert "refactor(v2): move no-flash script to head tag (#2158)"

This reverts commit f944550353.
This commit is contained in:
Yangshun Tay 2019-12-30 10:42:20 +08:00
parent f944550353
commit 26cc4168fa

View file

@ -63,9 +63,12 @@ module.exports = function(context, options) {
return {}; return {};
} }
return { return {
headTags: [ preBodyTags: [
{ {
tagName: 'script', tagName: 'script',
attributes: {
type: 'text/javascript',
},
innerHTML: noFlash, innerHTML: noFlash,
}, },
], ],