removed everything not nano-related, rewrote the logic of serial connection so the user is not prompted to connect 2 times when using the old bootloader

This commit is contained in:
Oleksiy H
2025-11-09 15:23:46 +02:00
parent 5888eee2db
commit 0c0b6d852f
14 changed files with 1302 additions and 1503 deletions

View File

@ -2,23 +2,10 @@ const webpack = require('webpack')
const path = require('path')
module.exports = [{
entry: './dist/test.js',
entry: './dist/nanoUploader.js',
output: {
filename: 'main.js',
path: path.resolve(__dirname, 'test'),
},
resolve: { alias: { stream: 'stream-browserify', buffer: 'buffer', process: 'process/browser' } },
plugins: [
new webpack.ProvidePlugin({
Buffer: ['buffer', 'Buffer'],
process: 'process',
}),
],
}, {
entry: './dist/nano.js',
output: {
filename: 'nano.js',
path: path.resolve(__dirname, 'nano'),
filename: 'nano-uploader.js',
path: path.resolve(__dirname, 'nano-uploader'),
},
resolve: { alias: { stream: 'stream-browserify', buffer: 'buffer', process: 'process/browser' } },
plugins: [