require-fool-webpack:使用动态`require()`而不用webpack找出

时间:2021-05-26 07:56:32
【文件属性】:
文件名称:require-fool-webpack:使用动态`require()`而不用webpack找出
文件大小:4KB
文件格式:ZIP
更新时间:2021-05-26 07:56:32
webpack sad-poop JavaScript 要求愚蠢的webpack 使用动态require()而无需webpack找出 因为。 :pile_of_poo: 您需要提供一个绝对路径。 安装 $ npm install require-fool-webpack 用法 前 const foo = require ( getPath ( ) ) ; 来自webpack的警告: WARNING in ./app/node_modules/conf/index.js 1:33-43 Critical dependency: the request of a dependency is an expression @ ./app/node_modules/conf/index.js @ ./app/node_modules/electron-store/index.js @ ./app/config.js @ ./app/renderer/in
【文件预览】:
require-fool-webpack-main
----.gitattributes(29B)
----.github()
--------workflows()
----test.js(91B)
----license(1KB)
----fixture.js(25B)
----.npmrc(19B)
----.editorconfig(175B)
----.gitignore(23B)
----index.js(115B)
----readme.md(815B)
----package.json(624B)

网友评论