title: Flutter - Bundle assets with web plugin
body: <p>I'm adding web support to a Flutter plugin which doesn't follow the federated style. I have followed <a href="https://medium.com/flutter/how-to-write-a-flutter-web-plugin-5e26c689ea1" rel="nofollow noreferrer">this link</a> and created a new project for the web plugin.</p>
  
  <p>I need to bundle some JavaScript files with my plugin. I tried placing them on the <code>lib/</code> folder and referencing them from the generated HTML (using <code>dart:html</code>) as <code>packages/my_plugin/jsfile.js</code>.</p>
  
  <p>This works perfectly fine on debug builds, but it doesn't on release builds.</p>
  
  <p>What I'm doing wrong?</p>
  
  <p>Thank you.</p>