feat: sync all remaining python source board configurations

This commit is contained in:
yczpf2019
2026-01-24 16:19:55 +08:00
parent 1990bee9a1
commit 20bde81bbb
519 changed files with 93119 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
const path = require('path');
const common = require('../../../webpack.common');
const { merge } = require('webpack-merge');
module.exports = merge(common, {
resolve: {
alias: {
'@mixly/python': path.resolve(__dirname, '../python'),
'@mixly/python-mixpy': path.resolve(__dirname, '../python_mixpy')
}
},
externals: {
'sk': 'Sk'
},
module: {
rules: [
{
test: /\.py$/,
type: 'asset/source',
}, {
test: /\.js$/,
resourceQuery: /url/,
type: 'asset/resource',
generator: {
filename: "[name]_[contenthash:8][ext]",
}
}
]
}
});