Method for constructing front-end code based on native ES module
A module construction and code technology, applied in the computer field, can solve problems such as slowness and affect the development efficiency of developers, and achieve the effect of accelerating reloading
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0027] like Figure 1-4 , the present invention provides a method for constructing front-end code based on native ES module, comprising the following steps:
[0028] (1) The modules in the application are divided into two categories: dependencies and source codes, which improves the startup time of the development server;
[0029] Dependencies are mostly pure JavaScript that will not change during development; some larger dependencies (such as a component library with hundreds of modules) are also expensive to process; dependencies usually exist in multiple modular formats (such as ESM or CommonJS);
[0030] (2) Use pre-build dependencies; pre-builds can be 10-100 times faster than bundler pre-build dependencies written in JavaScript;
[0031] The source code usually contains some files that are not directly JavaScript, need to be transformed (such as JSX, CSS or Vue / Svelte components), and are often edited; at the same time, not all source code needs to be loaded at the sam...
PUM

Abstract
Description
Claims
Application Information

- R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com