Questions tagged [bundle]

Packages are comprised of a collection of materials.

Create a next.config.js file to optimize a PWA application and include next/bundle-analyzer for performance analysis

I am currently working on my next.config.js file and I am looking to integrate next/bundle-analyzer /** @type {import('next').NextConfig} */ const withPWA = require("next-pwa")({ dest: "public", register: true, skipWait ...

Embed images within the JavaScript bundle

Here is my scenario: I have developed a components library for React. Within this library, there is a package bundled with Rollup that contains various assets, including a GIF picture used in one of the components. The specific component utilizing this p ...

Tips for evaluating the build size of a Create React App and ways to minimize it

Currently, I've been following the steps outlined in this helpful guide: https://create-react-app.dev/docs/analyzing-the-bundle-size/ and I'm gearing up to execute the analyze command to assess my app's size. Is this approach the most effect ...

Rollup faces challenges when trying to bundle source code alongside Bazel and Typescript

I am attempting to create a bundle using rollup, typescript, and bazel environment. I am having trouble importing relative paths. Typescript builds correctly but rollup is unable to bundle the source. WORKSPACE # WORKSPACE workspace( name = "WORK ...

Are there any specific processes within Visual Studio and TFS that cater to bundling and minifying client libraries during the TFS Build stage?

Seeking to streamline my workflow for managing client libraries obtained through NPM or Bower. Avoiding the inclusion of client libraries in TFS source control. When a different developer fetches the project, their local Visual Studio and NPM/Bower ...

Creating a consolidated System.config mapping for @angular modules using a single .js file

Currently in the process of developing an Angular 2 application, with the specific requirement to consolidate all resulting Javascript files into a single .js file called output.js. Now, the challenge is to incorporate map configuration within System.conf ...

Symfony - tool that enables loading of configurations

I am currently in the process of setting up FOSUserBundle according to the provided documentation. To start, I have created a fos_user.yaml file in the config/packages directory with the following configurations: fos_user: db_driver: orm firewall_name: m ...

Tips for organizing static JSON files for XCTests

Currently, I have a collection of static json files within my project that I am utilizing in unit tests instead of API responses. In order for this setup to function properly, the target membership of these files must belong to the production target; other ...

Is there a way to only retrieve a single build/dist file from an NPM installation instead of the entire repository?

Is it possible to solely depend on a single file from a repository? Does the package.json offer any functionality to retrieve a specific distributed build file instead of having to download the entire repository? Alternatively, should the responsibility ...

Launch the ReactJS application without specifying a port

I am currently developing a ReactJS application using create-react-app. While the npm start and npm run build commands are functioning properly, the issue I'm facing is related to hosting the build application without a port number in a public URL su ...

Combine Ractive with ractive-load using Rollup to optimize your code

When incorporating ractive and ractive-load into a rollup project, is it preferable to use npm or github for the installation process? To add each one, I currently utilize npm: npm install --save-dev ractivejs/ractive And npm install --save-dev ractive ...