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

Fix get images #51

Open
wants to merge 54 commits into
base: master
Choose a base branch
from
Open

Fix get images #51

wants to merge 54 commits into from

Commits on Mar 9, 2022

  1. Fix get img

    sgb004 committed Mar 9, 2022
    Configuration menu
    Copy the full SHA
    0fa8fa4 View commit details
    Browse the repository at this point in the history
  2. update dependencies

    sgb004 committed Mar 9, 2022
    Configuration menu
    Copy the full SHA
    a975307 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d0978dc View commit details
    Browse the repository at this point in the history
  4. I change the way to get the index.html generated by webpack because r…

    …esult.compilation.assets['index.html'].source() no longer works
    sgb004 committed Mar 9, 2022
    Configuration menu
    Copy the full SHA
    3a7bb3a View commit details
    Browse the repository at this point in the history
  5. I changed analytics.html because HTMLWebpackPlugin no longer puts scr…

    …ipts in the end of body, instead it puts the script in the end of head.
    
    I added the attr defer in the script tag because HTMLWebpackPlugin add that in the script tag now.
    I think that these changes do not affect the expected result .
    sgb004 committed Mar 9, 2022
    Configuration menu
    Copy the full SHA
    c33d23a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f11fffe View commit details
    Browse the repository at this point in the history
  7. I change the way to get the index.html and other-page.html generated …

    …by webpack because result.compilation.assets['index.html'].source() and result.compilation.assets['other-page.html'].source() no longer works
    sgb004 committed Mar 9, 2022
    Configuration menu
    Copy the full SHA
    96b8396 View commit details
    Browse the repository at this point in the history
  8. I changed basic-multi-index.html and basic-multi-other.html because H…

    …TMLWebpackPlugin no longer puts scripts in the end of body, instead it puts the script in the end of head.
    
    I added the attr defer in the script tag because HTMLWebpackPlugin add that in the script tag now.
    I think that these changes do not affect the expected result.
    sgb004 committed Mar 9, 2022
    Configuration menu
    Copy the full SHA
    e18ac26 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    7193f39 View commit details
    Browse the repository at this point in the history
  10. I change the way to get the index.html generated by webpack because r…

    …esult.compilation.assets['index.html'].source() no longer works
    sgb004 committed Mar 9, 2022
    Configuration menu
    Copy the full SHA
    057b8b9 View commit details
    Browse the repository at this point in the history
  11. I changed basic.html because HTMLWebpackPlugin no longer puts scripts…

    … in the end of body, instead it puts the script in the end of head.
    
    I added the attr defer in the script tag because HTMLWebpackPlugin add that in the script tag now.
    I think that these changes do not affect the expected result.
    sgb004 committed Mar 9, 2022
    Configuration menu
    Copy the full SHA
    2da36a7 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    401615c View commit details
    Browse the repository at this point in the history
  13. I changed the way to get the index.html generated by webpack because …

    …result.compilation.assets['index.html'].source() no longer works
    sgb004 committed Mar 9, 2022
    Configuration menu
    Copy the full SHA
    b344710 View commit details
    Browse the repository at this point in the history
  14. I changed body-attribute.html because HTMLWebpackPlugin no longer put…

    …s scripts in the end of body, instead it puts the script in the end of head.
    
    I added the attr defer in the script tag because HTMLWebpackPlugin add that in the script tag now.
    I think that these changes do not affect the expected result.
    sgb004 committed Mar 9, 2022
    Configuration menu
    Copy the full SHA
    a7bcb23 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    541b728 View commit details
    Browse the repository at this point in the history
  16. I changed the way to get the index.html generated by webpack because …

    …result.compilation.assets['index.html'].source() and result.compilation.assets['other-page.html'].source() no longer works
    sgb004 committed Mar 9, 2022
    Configuration menu
    Copy the full SHA
    8b08f51 View commit details
    Browse the repository at this point in the history
  17. I changed custom-multi-template-filename-index.html and custom-multi-…

    …template-filename-other.html because HTMLWebpackPlugin no longer puts scripts in the end of body, instead it puts the script in the end of head.
    
    I added the attr defer in the script tag because HTMLWebpackPlugin add that in the script tag now.
    I think that these changes do not affect the expected result.
    sgb004 committed Mar 9, 2022
    Configuration menu
    Copy the full SHA
    38824e3 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    70427e6 View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2022

  1. I changed the way to get the index.html generated by webpack because …

    …result.compilation.assets['index.html'].source() no longer works
    sgb004 committed Mar 10, 2022
    Configuration menu
    Copy the full SHA
    a9320ef View commit details
    Browse the repository at this point in the history
  2. I changed high-priority-head-no-meta.html because HTMLWebpackPlugin n…

    …o longer puts scripts in the end of body, instead it puts the script in the end of head.
    
    I added the attr defer in the script tag because HTMLWebpackPlugin add that in the script tag now.
    I think that these changes do not affect the expected result.
    sgb004 committed Mar 10, 2022
    Configuration menu
    Copy the full SHA
    1d85f9b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    36a8250 View commit details
    Browse the repository at this point in the history
  4. I changed the way to get the index.html generated by webpack because …

    …result.compilation.assets['index.html'].source() no longer works
    sgb004 committed Mar 10, 2022
    Configuration menu
    Copy the full SHA
    c5f00f1 View commit details
    Browse the repository at this point in the history
  5. I changed high-priority-head.html because HTMLWebpackPlugin no longer…

    … puts scripts in the end of body, instead it puts the script in the end of head.
    
    I added the attr defer in the script tag because HTMLWebpackPlugin add that in the script tag now.
    I think that these changes do not affect the expected result.
    sgb004 committed Mar 10, 2022
    Configuration menu
    Copy the full SHA
    1f18834 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    3d149a9 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    482fad0 View commit details
    Browse the repository at this point in the history
  8. Updated settings to fetch images using html-loader with the changes a…

    …pplied to the plugin and to adapt to the latest version of webpack and HTMLWebpack
    sgb004 committed Mar 10, 2022
    Configuration menu
    Copy the full SHA
    f2e55a8 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    e1623c2 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    cebfdfe View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    32dea6d View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    c253b5c View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    f24b452 View commit details
    Browse the repository at this point in the history
  14. These files change due to update documentation and the update last ve…

    …rsion of the webpack and HTMLWebpackPlugin
    sgb004 committed Mar 10, 2022
    Configuration menu
    Copy the full SHA
    882d422 View commit details
    Browse the repository at this point in the history
  15. I changed the way to get the index.html generated by webpack because …

    …result.compilation.assets['index.html'].source() no longer works
    sgb004 committed Mar 10, 2022
    Configuration menu
    Copy the full SHA
    a28eba5 View commit details
    Browse the repository at this point in the history
  16. These files change due to update documentation and the update last ve…

    …rsion of the webpack and HTMLWebpackPlugin
    sgb004 committed Mar 10, 2022
    Configuration menu
    Copy the full SHA
    9b7703e View commit details
    Browse the repository at this point in the history
  17. I changed minify.html because HTMLWebpackPlugin no longer puts script…

    …s in the end of body, instead it puts the script in the end of head.
    
    I added the attr defer in the script tag because HTMLWebpackPlugin add that in the script tag now.
    And also how I changed the documentation of the example.
    sgb004 committed Mar 10, 2022
    Configuration menu
    Copy the full SHA
    05e2a0b View commit details
    Browse the repository at this point in the history
  18. I changed the way to get the index.html generated by webpack because …

    …result.compilation.assets['index.html'].source() and result.compilation.assets['about.html'].source() no longer works
    sgb004 committed Mar 10, 2022
    Configuration menu
    Copy the full SHA
    a3957a3 View commit details
    Browse the repository at this point in the history
  19. I changed page-template-about.html and page-template-index.html becau…

    …se HTMLWebpackPlugin no longer puts scripts in the end of body, instead it puts the script in the end of head.
    
    I added the attr defer in the script tag because HTMLWebpackPlugin add that in the script tag now.
    I think that these changes do not affect the expected result.
    sgb004 committed Mar 10, 2022
    Configuration menu
    Copy the full SHA
    43f2141 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    3a9bfba View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2022

  1. I changed the way to get the index.html generated by webpack because …

    …result.compilation.assets['index.html'].source() and result.compilation.assets['about.html'].source() no longer works
    sgb004 committed Mar 11, 2022
    Configuration menu
    Copy the full SHA
    1998753 View commit details
    Browse the repository at this point in the history
  2. I changed react-root.html because HTMLWebpackPlugin no longer puts sc…

    …ripts in the end of body, instead it puts the script in the end of head.\nI added the attr defer in the script tag because HTMLWebpackPlugin add that in the script tag now.\nI think that these changes do not affect the expected result.
    sgb004 committed Mar 11, 2022
    Configuration menu
    Copy the full SHA
    a32d5f2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9c3eb65 View commit details
    Browse the repository at this point in the history
  4. I changed the way to get the index.html generated by webpack because …

    …result.compilation.assets['index.html'].source() and result.compilation.assets['about.html'].source() no longer works
    sgb004 committed Mar 11, 2022
    Configuration menu
    Copy the full SHA
    e667301 View commit details
    Browse the repository at this point in the history
  5. I changed replace-element.html because HTMLWebpackPlugin no longer pu…

    …ts scripts in the end of body, instead it puts the script in the end of head.\nI added the attr defer in the script tag because HTMLWebpackPlugin add that in the script tag now.\nI think that these changes do not affect the expected result.
    sgb004 committed Mar 11, 2022
    Configuration menu
    Copy the full SHA
    f07e548 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ecd33fc View commit details
    Browse the repository at this point in the history
  7. I changed the way to get the index.html generated by webpack because …

    …result.compilation.assets['index.html'].source() and result.compilation.assets['about.html'].source() no longer works
    sgb004 committed Mar 11, 2022
    Configuration menu
    Copy the full SHA
    d85a62a View commit details
    Browse the repository at this point in the history
  8. I changed the way to get the index.html generated by webpack because …

    …result.compilation.assets['index.html'].source() and result.compilation.assets['about.html'].source() no longer works
    sgb004 committed Mar 11, 2022
    Configuration menu
    Copy the full SHA
    adab3c7 View commit details
    Browse the repository at this point in the history
  9. I changed variables.html because HTMLWebpackPlugin no longer puts scr…

    …ipts in the end of body, instead it puts the script in the end of head.
    
    I added the attr defer in the script tag because HTMLWebpackPlugin add that in the script tag now.
    I think that these changes do not affect the expected result.
    sgb004 committed Mar 11, 2022
    Configuration menu
    Copy the full SHA
    5e5f348 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    28032a5 View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2022

  1. Restoration of the test script.

    The time was increased in the tests due to the fact that sometimes mocha gives false consumption of time.
    sgb004 committed Mar 14, 2022
    Configuration menu
    Copy the full SHA
    3e331a7 View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2022

  1. The filesProcessed variable is no longer static.

    It didn't really need to be static.
    The reason for the change was because it was causing an error in the Page Template test, I will try to explain how it caused that error:
    The filesProcessed variable saves the name of the files processed by HTMLWebpackPlugin and is used later to inject the partial, this occurs when in the configurations template_filename is equal to *, because the variable was static it was causing an error in the Page test Template, when mocha went through that test, the filesProcessed variable had saved the name of the files processed by HTMLWebpackPlugin from the tests prior to this test, when doing the iteration of the variable to obtain each file processed by HTMLWebpackPlugin and when trying to obtain the file, it could not be found because it belonged to another test causing the Page Template test to fail.
    sgb004 committed Apr 1, 2022
    Configuration menu
    Copy the full SHA
    8f499ae View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ad34bc3 View commit details
    Browse the repository at this point in the history
  3. This test takes a few seconds more, I didn't find a reason as with th…

    …e Page Template test, probably due to changes I made to the plugin.
    sgb004 committed Apr 1, 2022
    Configuration menu
    Copy the full SHA
    680ee85 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    81fbde4 View commit details
    Browse the repository at this point in the history
  5. Change the version of nodejs used in the workflow test because some m…

    …odules need the nodejs version 12.13.0
    sgb004 committed Apr 1, 2022
    Configuration menu
    Copy the full SHA
    311a476 View commit details
    Browse the repository at this point in the history