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:
@ -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: [
|
||||
|
||||
Reference in New Issue
Block a user