fix(boards): 修复arduino下 数组左/右循环 操作异常
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
const path = require("path");
|
||||
const common = require("../../../webpack.common");
|
||||
const { merge } = require("webpack-merge");
|
||||
const path = require('path');
|
||||
const common = require('../../../webpack.common');
|
||||
const { merge } = require('webpack-merge');
|
||||
|
||||
module.exports = merge(common, {
|
||||
resolve: {
|
||||
@@ -8,5 +8,13 @@ module.exports = merge(common, {
|
||||
'@mixly/arduino': path.resolve(__dirname, '../arduino'),
|
||||
'@mixly/arduino-avr': path.resolve(__dirname, '../arduino_avr')
|
||||
}
|
||||
},
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
test: /\.(txt|c|cpp|h|hpp)$/,
|
||||
type: 'asset/source'
|
||||
}
|
||||
]
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user