【文件属性】:
文件名称:properties-json-loader:一个基于属性的webpack-loader
文件大小:139KB
文件格式:ZIP
更新时间:2021-04-03 09:58:18
webpack-loader properties properties-loader TypeScript
JSON Webpack加载器的属性
介绍
一个基于webpack-loader。
支持属性中的所有选项。
用法
安装
npm install properties-json-loader
Webpack配置
使用属性分析作为加载程序选项。
然后将返回解析后的属性json对象。
module . exports = {
// ...
module : {
rules : [
// ...
{
test : / \. properties $ / ,
loader : 'properties-json-loader' ,
// use `properties` options
options : {
namespaces : true
【文件预览】:
properties-json-loader-master
----package.json(2KB)
----.github()
--------renovate.json(296B)
--------workflows()
----.prettierrc(120B)
----LICENSE(1KB)
----src()
--------__tests__()
--------cjs.ts(69B)
--------index.ts(727B)
----tsconfig.json(493B)
----.gitignore(4KB)
----CHANGELOG.md(1KB)
----README.md(2KB)
----yarn.lock(324KB)
----.editorconfig(211B)