Comments (1)
The development server has a prebundle
option which should allow for the customization needed to handle this use case.
An example configuration would be as follows (note the prebundle
option usage):
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"configurations": {
"production": {
"buildTarget": "my-app:build:production"
},
"development": {
"buildTarget": "my-app:build:development",
"prebundle": {
"exclude": ["@myorg/common"]
}
}
},
"defaultConfiguration": "development"
},
The prebundle
option can also be set to false
to disable all Vite-based dependency prebundling/optimization.
If this does not solve the issue, please let us know and we can investigate further.
from angular-cli.
Related Issues (20)
- sourcemap isn't working HOT 2
- support npm version 1- HOT 1
- CSS background-image: url() not working for relative paths in Angular library project HOT 1
- [reopen] [proposal] auto polyfilling support via @babel/preset-env HOT 1
- Newly added assets are not served by the development server HOT 1
- host property of the compoments not providing typings intellisense and also class applied to it not getting processed by tailwindcss HOT 1
- Script tags are not added to the child pages when build SSR project HOT 1
- IWAs (Isolated Web Apps) integration proposal HOT 2
- Styles optimization option - "removeSpecialComments" is not working HOT 5
- Failed to read Git tree: fatal: not a git repository (or any of the parent directories): .git HOT 9
- Server Actions HOT 1
- ng commands hangs on node version v20.12.2 HOT 8
- importmap with ssr HOT 1
- angular report server dependencies as not esm HOT 3
- Cannot be used with BSON library HOT 2
- Changes to index.html no longer work with esbuild
- Cannot use esbuild builder after 17.0.X with Bazel
- @angular-devkit/build-angular:app-shell builder produces distribution index.html missing script tags referencing the main, runtime, and polyfills chunks when the source index.html contains a self-closing <app-root /> tag HOT 1
- ng build hangs without error or warning. HOT 5
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 angular-cli.