feat: 增加 cert:generate 和 arduino:install 脚本
This commit is contained in:
13
webpack.common.cjs
Normal file
13
webpack.common.cjs
Normal file
@@ -0,0 +1,13 @@
|
||||
const path = require('path');
|
||||
const nodeExternals = require('webpack-node-externals');
|
||||
|
||||
|
||||
module.exports = {
|
||||
target: 'node',
|
||||
entry: './src/index.js',
|
||||
output: {
|
||||
path: path.resolve(__dirname, 'dist'),
|
||||
filename: 'bundle.cjs'
|
||||
},
|
||||
externals: [nodeExternals()],
|
||||
};
|
||||
Reference in New Issue
Block a user