Skip to content

Commit

Permalink
move JS to ES module
Browse files Browse the repository at this point in the history
  • Loading branch information
proddy committed Nov 17, 2023
1 parent 00d66c1 commit 0261669
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions interface/progmem-generator.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const { readdirSync, existsSync, unlinkSync, readFileSync, createWriteStream } = require('fs');
const { resolve, relative, sep } = require('path');
var zlib = require('zlib');
var mime = require('mime-types');
import { readdirSync, existsSync, unlinkSync, readFileSync, createWriteStream } from 'fs';
import { resolve, relative, sep } from 'path';
import zlib from 'zlib';
import mime from 'mime-types';

const ARDUINO_INCLUDES = '#include <Arduino.h>\n\n';
const INDENT = ' ';
Expand Down

0 comments on commit 0261669

Please sign in to comment.