Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7898577
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T08:28:14+00:00 2026-06-03T08:28:14+00:00

My JavaScript library is getting fairly large and slow to compile with Closure. I’d

  • 0

My JavaScript library is getting fairly large and slow to compile with Closure. I’d like to create a makefile that compiles only changed modules. However I’d still like to use ADVANCED_OPTIMIZATIONS to rename module contents for size and security reasons, also those functions that are called from other modules. Is there a reasonable way to do this?

Basically I’d like to compile module A and store somewhere the mapping from actual class member names to minified versions. Then when compiling module B, it should translate the code accessing module A to use the correct minified names, as it would if I compiled the whole thing at once.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T08:28:16+00:00Added an answer on June 3, 2026 at 8:28 am

    Ultimately, you can’t get global dead code removal and separate compilation. You have to export an interface of some kind in a way that lets the compiler know that you have an external use of the code you want to keep.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

If there is a javascript library that is licensed under a Copyleft license like
The Google Closure (GC) Javascript Library makes it very easy to create an AutoComplete
Have any of you seen like a javascript library that allows fluid div scrolling.
is there any javascript library that provides me with a custom event as soon
Anyone knows a simple JavaScript library implementing the UNZIP algorithm? No disk-file access, only
What's the best javascript library, or plugin or extension to a library, that has
Do you know a JavaScript library that implements a generic Iterator class for collections
When I am loading my page I include a javascript library that is used
I am using a Direct Web Remoting (DWR) JavaScript library file and am getting
I am getting Uncaught TypeError while using Google Map API V3 Javascript Library. I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.