Skip to content

After running gulp, the file index.html.gz doesn't compress css and js files #2

Open
@filipecalegario

Description

@filipecalegario

Hello,

I edited the index.html file to change some of the titles.

When I run gulp, there is no error, but the resulting file has no CSS either JS files embedded into index.html.gz.

[22:11:03] Using gulpfile ~/git/ESP32-STUDIES/esp32-wifi-manager-vuejs/web-app/gulpfile.js
[22:11:03] Starting 'default'...
[22:11:03] Starting 'buildfs'...
[22:11:03] Starting 'clean'...
[22:11:03] Finished 'clean' after 54 ms
[22:11:03] Starting 'files'...
[22:11:06] Finished 'files' after 3.02 s
[22:11:06] Starting 'html'...
[22:11:06] Finished 'html' after 299 ms
[22:11:06] Finished 'buildfs' after 3.38 s
[22:11:06] Finished 'default' after 3.38 s

I even uploaded to an ESP32 and, when I open it, the server works fine, but the page come with no style either functionalities.

Screen Shot 2020-11-23 at 22 17 46

Screen Shot 2020-11-23 at 22 18 27

If I want to modify the index.html, is that the right workflow: 1) alter the index.html file and 2) run gulp command? Are there other steps I'm not following?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions