Description
I'm experimenting with the Autocomplete in a project that uses Webpack 5 as bundling tool. When following the getting started guide, and importing the default theme like this...
import '@algolia/autocomplete-theme-classic';
... it seems as if the contained css won't be included in the final bundle.
Researching a bit shows that this could possibly be due to the sideEffects setting being false in package.json of https://github.com/algolia/autocomplete/blob/next/packages/autocomplete-theme-classic/package.json ?
See https://webpack.js.org/guides/tree-shaking/#clarifying-tree-shaking-and-sideeffects
Description
I'm experimenting with the Autocomplete in a project that uses Webpack 5 as bundling tool. When following the getting started guide, and importing the default theme like this...
... it seems as if the contained css won't be included in the final bundle.
Researching a bit shows that this could possibly be due to the
sideEffectssetting beingfalseinpackage.jsonof https://github.com/algolia/autocomplete/blob/next/packages/autocomplete-theme-classic/package.json ?See https://webpack.js.org/guides/tree-shaking/#clarifying-tree-shaking-and-sideeffects