From 4ce2ad2f3c73668fe2683f6deb84de0d00e3502e Mon Sep 17 00:00:00 2001 From: houhaoyu Date: Tue, 29 Mar 2022 12:19:07 +0800 Subject: [PATCH] fixed c328e02 from https://gitee.com/houhaoyu/developtools_ace-js2bundle/pulls/219 houhaoyu@huawei.com collect module with number Signed-off-by: houhaoyu Change-Id: I3d3387138be1bbe7bf0f064c5f8eded32835db5b --- ace-loader/src/module-collection-plugin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ace-loader/src/module-collection-plugin.js b/ace-loader/src/module-collection-plugin.js index 4f237dc..d3b4e7b 100644 --- a/ace-loader/src/module-collection-plugin.js +++ b/ace-loader/src/module-collection-plugin.js @@ -18,7 +18,7 @@ import RawSource from 'webpack-sources/lib/RawSource'; const path = require('path'); const { Compilation } = require('webpack'); -const moduleReg = /(@ohos|@system)(\.[a-zA-Z]+)+/g; +const moduleReg = /(@ohos|@system)(\.[a-zA-Z0-9]+)+/g; class ModuleCollectionPlugin { constructor() {