Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/preprocessor sourcemaps #5428

Closed
wants to merge 26 commits into from

Commits on Sep 18, 2020

  1. Configuration menu
    Copy the full SHA
    e223c35 View commit details
    Browse the repository at this point in the history
  2. preprocessor sourcemaps: prettify code

    sort devDependencies
    
    rename to compile_options.sourcemap
    
    file src/compiler/utils/string_with_map.ts
    * indent with tabs
    * run prettier
    * remove extra whitespace
    * add newline at end of file
    * wrap long lines
    * rephrase some comments
    milahu committed Sep 18, 2020
    Configuration menu
    Copy the full SHA
    43c5d5e View commit details
    Browse the repository at this point in the history
  3. preprocessor sourcemaps: prettify code 2

    move string_with_map.ts to string_with_sourcemap.ts
    rename GeneratedStringWithMap to StringWithSourcemap
    rename offset_source_location to sourcemap_add_offset
    rename source_maps to sourcemap_list
    rename source_locator to get_location
    rename as_sourcemap to get_sourcemap
    rename encode to sourcemap_encode
    move { brace to line before
    add some comments
    milahu committed Sep 18, 2020
    Configuration menu
    Copy the full SHA
    b8e9b68 View commit details
    Browse the repository at this point in the history
  4. preprocessor sourcemaps: prettify code 3

    rename decode to sourcemap_decode
    
    allow self-closing <style/>
    milahu committed Sep 18, 2020
    Configuration menu
    Copy the full SHA
    4a03b10 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    307276a View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2020

  1. move fn replace_async, etc

    move fn replace_async back to old place to reduce line diffs
    fn preprocess: allow empty argument `preprocessor` (noop)
    make fns replace_async, get_replacement pure fns
      pass filename, get_location as argument
    restore old format to reduce line diffs
    remove empty fields of sourcemap: file, sourcesContent
    milahu committed Sep 19, 2020
    Configuration menu
    Copy the full SHA
    dee3aab View commit details
    Browse the repository at this point in the history
  2. fix test/preprocess

    milahu committed Sep 19, 2020
    Configuration menu
    Copy the full SHA
    e753489 View commit details
    Browse the repository at this point in the history
  3. refactor test/sourcemaps

    use _config.js, indent with tabs, rename variables,
    milahu committed Sep 19, 2020
    Configuration menu
    Copy the full SHA
    6d06b7b View commit details
    Browse the repository at this point in the history
  4. lint commas

    milahu committed Sep 19, 2020
    Configuration menu
    Copy the full SHA
    433213a View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2020

  1. move fn get_replacement

    milahu committed Sep 20, 2020
    Configuration menu
    Copy the full SHA
    e76f37d View commit details
    Browse the repository at this point in the history
  2. bugfix in fn merge_tables

    milahu committed Sep 20, 2020
    Configuration menu
    Copy the full SHA
    b7d5974 View commit details
    Browse the repository at this point in the history
  3. remove hack

    milahu committed Sep 20, 2020
    Configuration menu
    Copy the full SHA
    7cccff1 View commit details
    Browse the repository at this point in the history
  4. trigger test on travis ci

    milahu committed Sep 20, 2020
    Configuration menu
    Copy the full SHA
    6668f12 View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2020

  1. refactor

    milahu committed Sep 21, 2020
    Configuration menu
    Copy the full SHA
    459dd88 View commit details
    Browse the repository at this point in the history
  2. ignore names in sourcemap

    milahu committed Sep 21, 2020
    Configuration menu
    Copy the full SHA
    880f556 View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2020

  1. handle sourcemap.names

    milahu committed Sep 22, 2020
    Configuration menu
    Copy the full SHA
    2cf1ae6 View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2020

  1. Configuration menu
    Copy the full SHA
    1073120 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cf600f7 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2020

  1. Configuration menu
    Copy the full SHA
    38f4ce4 View commit details
    Browse the repository at this point in the history
  2. optimize concat

    milahu committed Sep 24, 2020
    Configuration menu
    Copy the full SHA
    47ffc05 View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2020

  1. Configuration menu
    Copy the full SHA
    b739bdb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e7abdfa View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    422cc0d View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2020

  1. support default + named import

    milahu committed Sep 26, 2020
    Configuration menu
    Copy the full SHA
    3d053d9 View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2020

  1. Configuration menu
    Copy the full SHA
    a0eb41f View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2020

  1. Configuration menu
    Copy the full SHA
    18003d6 View commit details
    Browse the repository at this point in the history