-
**Describe the bug**
I have a Component that injects some CSS in DEV mode. I don't want this style to be applied in my production build.
To do this I created a the `InjectDevStyle.svelte`-component …
-
I just got bitten by that this library needs treeshake disabled
https://github.com/pqina/filepond/blob/bbaf944178a8c6a0802f5a0106fb308fbf6269fb/rollup.scripts.js#L41
Rollup seems to treeshake too …
-
While working on #1060, I've discovered that treeshaking isn't working and we're pulling in _everything_ when we do a build. ☹️
I've done a bit of digging by adding the following to the top of our…
-
Using [`rollup-loader`](https://www.npmjs.com/package/rollup-loader) to utilize treeshaking removes all function marks like `var __svg__`, `var __sprite__`, etc.
Hence no sprites get generated.
…
-
# 🐛 Bug Report
Checking `typeof process` or `process.env` causes Parcel to unnecessarily polyfill `process` module, even if the code only uses `process.env.SOME_ENV`. Additionally, in 2.6.0, tr…
-
Any specific option / way to avoid treeshaking unused variables only?
Also the most perfect solution would not to treeshake specific variable list...
-
```js
// index.js
import { Infinity as infi } from "./bug";
infi();
```
```js
// bug.js
function Infinity() {
console.log("Inifinity");
}
// Infinity.size = [8];
export { Infinity };
```…
-
### Describe the bug
We want to use the svelte kit library (building based on vite) configuration to build a component library that we integrate into a svelte kit app. When we import components as mo…
-
### Describe the feature
at present, swc transforms enum without `/*#__PURE__*/`, which causes enums cannot be deleted during treeshaking and minimizing
[playground](https://play.swc.rs/?version…
-
**Module version**
1.11.0
**Describe the bug**
Even with treeshaking enabled, Vuetify includes a large amount of unneeded CSS when the nuxt project is built.
**To Reproduce**
Build any nuxt-…