没有合适的资源?快使用搜索试试~ 我知道了~
babel-plugin-file-loader:与webpack的文件加载器类似,但在服务器端。 允许生产级require('...
共42个文件
js:19个
png:3个
gitignore:2个
需积分: 9 0 下载量 111 浏览量
2021-01-31
02:47:54
上传
评论
收藏 187KB ZIP 举报
温馨提示
babel插件文件加载器 与Webpack的,但在服务器端。 拥有95%的测试覆盖率! 安装 yarn add babel-plugin-file-loader 或者,如果您喜欢npm: npm install babel-plugin-file-loader --save 然后将以下“文件加载器”作为.babelrc中的插件: { " plugins " : [ " file-loader " ] } 这等效于以下默认配置: { " plugins " : [ [ " file-loader " , { " name " : " [hash].[ext] " , " extensions " : [ " png " , " jpg " , " jpeg " , " gif " , " svg " ], " publicPath " : " /public " , " outputPath " : " /public " , " context " : "
资源推荐
资源详情
资源评论
收起资源包目录
babel-plugin-file-loader-master.zip (42个子文件)
babel-plugin-file-loader-master
yarn.lock 195KB
.prettierignore 14B
src
transform.js 3KB
index.js 2KB
.npmignore 106B
examples
with-helmet
yarn.lock 102KB
src
component
index.js 143B
files
file.png 7KB
assets
favicon.ico 24KB
file.png 7KB
README.md 266B
index.js 697B
.babelrc 237B
serve.js 797B
.gitignore 5B
package.json 626B
.travis.yml 241B
LICENSE 1KB
test
index.test.js 9KB
fixtures
import-not-existing.js 41B
import-unknown.js 42B
require-var.js 25B
require-no-ext.js 34B
import-no-ext.js 29B
import-image.js 38B
require-no-var.js 30B
require-image.js 43B
import-text.js 38B
require-react.js 154B
assets
file.jpg 13KB
file.svg 11KB
file.png 7KB
emitFile
fixture.js 71B
file.unknown 5B
fixture.js 70B
file.gif 13KB
file.txt 5B
__snapshots__
index.test.js.snap 3KB
transformCode.js 453B
README.md 4KB
.gitignore 249B
package.json 851B
共 42 条
- 1
资源评论
亲爱的薄荷绿
- 粉丝: 26
- 资源: 4663
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功