monapasan / rollup-node-resolve-side-effects-excluded

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Based on rollup-starter-app

This repo reproduces the problem where a file defined in sideEffects of package.json gets excluded from the bundle when using @rollup/plugin-node-resolve. The file polyfill/sideEffect.js will be present in the bundle in case:

  1. sideEffects is removed from package.json or set to true
  2. Omit the use of plugin @rollup/plugin-node-resolve from the rollup build

About

License:MIT License


Languages

Language:JavaScript 75.0%Language:HTML 25.0%