Comments (5)
Hi @Gospodin! Thanks for discovering this, since it's definitely not intended behavior. We're overhauling all component and asset generation right now to pull from "official" _assets
and _islands
folders in your project. Once this work is done, duplicate JS chunks should be impossible.
I'll keep this issue open for now for tracking once the 1.0 canary is out!
from slinkity.
Hi @Gospodin! Thanks for discovering this, since it's definitely not intended behavior. We're overhauling all component and asset generation right now to pull from "official"
_assets
and_islands
folders in your project. Once this work is done, duplicate JS chunks should be impossible.I'll keep this issue open for now for tracking once the 1.0 canary is out!
Thanks @bholmesdev , is it possible in some hacky way to overcome this problem because it makes huge problem with
anomaly memory consumption while Vite transforming process?
from slinkity.
@Gospodin well, there is a build caching improvement I've been planning on as well. Mind sending me a sample repo to test against?
from slinkity.
Hi @bholmesdev , it looks like my mistake, I verified and saw that js files for components are generating only once, but there are many same files with component import in case of many pages with same component, so as option it would be nice to generate import files using some sort of caching not populating same files for many times, it also will allow better browser caching. Thanks.
from slinkity.
Glad we could chat about this feature request Gospodin. I am sorry to say that Slinkity is no longer maintained. To make this clear to new users, I have archived the repository, and I have updated the project README to reflect the current status.
If the community would like to fork and keep Slinkity alive, all code is open and MIT licensed. I apologize for the radio silence, but I hope this clarifies everything!
from slinkity.
Related Issues (20)
- Is vite ran on eleventy.after ? HOT 5
- 11ty + Syntax Highlighter Vite Error HOT 1
- Use JS/TS files without shortcodes? HOT 2
- PostCSS Plugins on build. HOT 2
- Is it possible to import SCSS from a npm package? HOT 1
- vite script tag gets added to json HOT 1
- V1 and Github Documentation HOT 3
- Server options, https, liveReload, domDiff? HOT 1
- Production build fails in windows - vite.cjs - fast_glob.sync() - needs path normalized for this to work HOT 2
- Slinkity asset contains url encoded slashes which prevent loading HOT 2
- children props not passing in markdown HOT 1
- Hydrate a single component on a component page HOT 1
- CSS Module files not resolved in production build for components rendered as an island HOT 4
- Vite preview
- Assets aren't proceesed when using `pathPrefix` with `EleventyHtmlBasePlugin` HOT 2
- React: The above dynamic import cannot be analyzed by Vite. HOT 1
- TypeError: vite.createFilter is not a function
- [11ty] Objects are not valid as a React child HOT 1
- Multiple running slinkity projects tends to bug vite
- Peer dependancy error on install with 11ty 2.0.1 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from slinkity.