mirror of
https://github.com/openharmony/developtools_ace-js2bundle.git
synced 2026-07-19 18:23:34 -04:00
@@ -297,7 +297,7 @@ function loadWorker(entryObj) {
|
||||
const workerConfig = JSON.parse(fs.readFileSync(process.env.aceBuildJson).toString());
|
||||
workerConfig.forEach(worker => {
|
||||
if (!/\.(js)$/.test(worker)) {
|
||||
worker += '.js'
|
||||
worker += '.js';
|
||||
}
|
||||
const relativePath = path.relative(process.env.projectPath, worker);
|
||||
if (filterWorker(relativePath)) {
|
||||
|
||||
Reference in New Issue
Block a user