Is it possible to use subresource integrity with ES6 module imports?

后端 未结 4 1823
广开言路
广开言路 2020-12-06 00:37

Given code like this:

import { el, mount } from \'https://unpkg.com/redom@3.2.1/dist/redom.es.js\';

is there some way to enable subresource

4条回答
  •  抹茶落季
    2020-12-06 01:14

    You have to also define the module via

    
    
                                     
                  
提交回复
热议问题