Comments (4)
It works, the transferred size difference is that Farm does not enable gzip for dev server or preview server
from farm.
Enabled gzip
300kB bigger than rollup
from farm.
I'll take a look
from farm.
In Farm polyfill is enabled by default, but vite does not. You can set compilation.presetEnv
to false
then retry.
from farm.
Related Issues (20)
- [@farmfe/js-plugin-solid] during the build process, a large number of console prints appeared on the console HOT 7
- 基于本地搭建服务使用farm,farm能提供vite支持express吗 HOT 3
- Optimize persistent cache strategy HOT 3
- Cannot find module '@farmfe/plugin-sass-linux-x64-gnu' HOT 5
- Error: Non-space character inside "noscript" inside "head", due to HTML minification HOT 7
- Optimize runtime production size
- Support watch files under node_modules
- Normalize usage of rust plugins and js plugins
- Dependency Dashboard
- Farm quit prematurely when executed with oven/bun:latest docker image. HOT 2
- farm cli/ core required node version is >= 16, but dep browserslist-generator is >= 16.15.1 HOT 2
- type declaration export of the entry module is saved to the runtime
- support receive Promise plugin HOT 5
- js-plugin-dts support more file
- Support targetEnv option lib-browser and lib-node
- [Package management] Can you add a nightly release for every change in master branch
- `@import 'nprogress/nprogress'` should be resolved to css instead of js by default
- JSON transform failed with vite plugin i18n
- `unplugin-auto-import/vite` added `import { h } from 'vue';` which caused css parse error HOT 1
- Optimize lazy compilation resources loading
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 farm.