feat: integrate learning module
This commit is contained in:
@@ -2,6 +2,13 @@ const { execFileSync } = require('node:child_process');
|
||||
const { join } = require('node:path');
|
||||
|
||||
exports.default = async function beforePack() {
|
||||
execFileSync(process.execPath, [
|
||||
join(__dirname, 'verify-learning-player-artifact.mjs'),
|
||||
join(__dirname, '..', 'build', 'learning-player'),
|
||||
], {
|
||||
cwd: join(__dirname, '..'),
|
||||
stdio: 'inherit',
|
||||
});
|
||||
execFileSync(process.execPath, [join(__dirname, 'prepare-publish-runtime.mjs')], {
|
||||
cwd: join(__dirname, '..'),
|
||||
stdio: 'inherit',
|
||||
|
||||
Reference in New Issue
Block a user