Fix an issue bundling our copy of the Backbone types.

Review Request #12794 — Created Jan. 21, 2023 and submitted

chipx86
Spina
master
beanbag-misc

We were using the dts rollup plugin when attempting to bundle our fork
of the Backbone types, but this plugin ends up rewriting those. This is
a problem for the particular setup in the Backbone types file. What we
really wanted to do was just copy it as-is.

This change does exactly that. We now use rollup-plugin-copy to just
simply copy anything in src/@types into lib, preserving it as-is.

This fixes issues with using Spina with TypeScript when using the built
package.

Built a package and consumed it successfully without typing issues.

Summary
Fix an issue bundling our copy of the Backbone types.
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Loading...