mirror of
https://github.com/captbaritone/webamp.git
synced 2026-01-23 02:15:01 +00:00
Add back polyfills
This commit is contained in:
parent
b5bf64a55d
commit
e06d3b9b3e
1 changed files with 3 additions and 0 deletions
|
|
@ -23,6 +23,9 @@ export function getPlugins({ minify, outputFile, vite }) {
|
|||
// https://rollupjs.org/troubleshooting/#warning-treating-module-as-external-dependency
|
||||
// TODO: We could offer a version which does not inline React/React-DOM
|
||||
nodeResolve(),
|
||||
// Needed for music-metadata-browser in the Webamp bundle which depends upon
|
||||
// being able to use some polyfillable node APIs
|
||||
nodePolyfills(),
|
||||
typescript({
|
||||
compilerOptions: {
|
||||
jsx: "react-jsx",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue