rails-assets icon indicating copy to clipboard operation
rails-assets copied to clipboard

promise-polyfill doesn't provide a usable javascript file

Open offwhite opened this issue 5 years ago • 1 comments

It appears that promise-polyfill compiles to an unrecognisable JS structure.

gemfile

gem 'rails-assets-promise-polyfill', source: 'https://rails-assets.org'

Error thrown

 couldn't find file 'promise-polyfill' with type 'application/javascript'
       Checked in these paths: 
         ...
         /path/to/gem/files/gems/rails-assets-promise-polyfill-8.1.0/app/assets/javascripts

The contents of the promise-polyfill javascript directory is:

javascript:
  promise-polyfill:
    dist:
      polyfill.js
    karma.conf.js
    rollup.umd.config.js
    src:
       finally.js
       index.js
       polyfill.js

offwhite avatar Sep 26 '19 18:09 offwhite

@offwhite Does this still affect you?

hut8 avatar Apr 04 '22 21:04 hut8