Try a different minify action package
This commit is contained in:
parent
d4e6eb0249
commit
e023a5a4a3
6 changed files with 4 additions and 5 deletions
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
|
|
@ -19,12 +19,11 @@ jobs:
|
|||
- name: Create Build Folder
|
||||
run: "mkdir -p build"
|
||||
- name: Copy files to build folder
|
||||
run: "yes | cp -f *.{mjs,py,json} build/"
|
||||
run: "yes | cp -f *.{js,py,json} build/"
|
||||
- name: Minify JavaScript
|
||||
uses: nizarmah/auto-minify@v2.1
|
||||
uses: jossydevers/minify-js@v1.0.0
|
||||
with:
|
||||
directory: 'build'
|
||||
overwrite: true
|
||||
# Eventually only do this step on release
|
||||
- name: Commit Build Files
|
||||
uses: stefanzweifel/git-auto-commit-action@v4
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ import * as esptoolPackage from "https://unpkg.com/esp-web-flasher@5.1.2/dist/we
|
|||
|
||||
//import * as esptoolPackage from "https://adafruit.github.io/Adafruit_WebSerial_ESPTool/js/modules/esptool.js"
|
||||
import { REPL } from 'https://cdn.jsdelivr.net/gh/adafruit/circuitpython-repl-js@1.2.1/repl.js';
|
||||
import { InstallButton, ESP_ROM_BAUD } from "./base_installer.mjs";
|
||||
import { InstallButton, ESP_ROM_BAUD } from "./base_installer.js";
|
||||
|
||||
// TODO: Combine multiple steps together. For now it was easier to make them separate,
|
||||
// but for ease of configuration, it would be work better to combine them together.
|
||||
|
|
@ -5,7 +5,7 @@
|
|||
},
|
||||
"version": "1.0.0",
|
||||
"description": "ESP32 Web-based Firmware Installation Tool for CircuitPython and more",
|
||||
"main": "base_installer.mjs",
|
||||
"main": "base_installer.js",
|
||||
"dependencies": {
|
||||
},
|
||||
"devDependencies": {},
|
||||
|
|
|
|||
Loading…
Reference in a new issue