You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
构建运行报错:
在parse/markdown/plugins/emoji.js 里引用了 lib 下的一些文件,但是构建出来产物里并没有这些资源文件。
源代码:
var e=require("./lib/data/full.json"),n=require("./lib/data/shortcuts"),o=require("./lib/render"),i=require("./lib/replace"),r=require("./lib/normalize_opts");a.exports=function(a,){var t={defs:e,shortcuts:n,enabled:[]},s=r(a.utils.assign({},t,||{}));a.renderer.rules.emoji=o,a.core.ruler.push("emoji",i(a,s.defs,s.shortcuts,s.scanRE,s.replaceRE))}},{"./lib/data/full.json":1,"./lib/data/shortcuts":2,"./lib/normalize_opts":3,"./lib/render":4,"./lib/replace":5}]},{},[6])(6)
报错信息:
Could not resolve "./lib/data/full.json" from "src/wxcomponents/ToWxml/parse/markdown/plugins/emoji.js"
The text was updated successfully, but these errors were encountered:
构建运行报错:
在parse/markdown/plugins/emoji.js 里引用了 lib 下的一些文件,但是构建出来产物里并没有这些资源文件。
源代码:
var e=require("./lib/data/full.json"),n=require("./lib/data/shortcuts"),o=require("./lib/render"),i=require("./lib/replace"),r=require("./lib/normalize_opts");a.exports=function(a,){var t={defs:e,shortcuts:n,enabled:[]},s=r(a.utils.assign({},t,||{}));a.renderer.rules.emoji=o,a.core.ruler.push("emoji",i(a,s.defs,s.shortcuts,s.scanRE,s.replaceRE))}},{"./lib/data/full.json":1,"./lib/data/shortcuts":2,"./lib/normalize_opts":3,"./lib/render":4,"./lib/replace":5}]},{},[6])(6)
报错信息:
Could not resolve "./lib/data/full.json" from "src/wxcomponents/ToWxml/parse/markdown/plugins/emoji.js"
The text was updated successfully, but these errors were encountered: