1.1.0 • Published 6 years ago

webpack-modules-export v1.1.0

Weekly downloads
1
License
MIT
Repository
-
Last release
6 years ago

webpack-modules-export

用于静态化依赖文件的webpack插件,主要用于spa单页应用的前端配置文件生成

单元测试

单元测试基于mochaassert,对核心文件解析模块进行了全面的测试

运行方法:

npm run test

安装方式

npm install webpack-modules-export

示例

// webpack.config.js
const webpackModulesExport = require('webpack-modules-export');

module.exports = {
  /*...*/
  plugins:[
    new webpackModulesExport({
        fileName:'menu.js',
        outputName:'menu.json'
    })
  ]
};

参数

  • fileName

    • 类型:String
    • 默认值:menu.js

      需要导出的文件路径或文件名

  • outputName

    • 类型:String
    • 默认值:menu.json

      导出后的文件名

联系方式

邮箱 : 1615450788@qq.com

有任何问题请发Issues或者邮箱联系我-.- 谢谢!

1.1.0

6 years ago

1.0.14

6 years ago

1.0.13

6 years ago

1.0.12

6 years ago

1.0.11

6 years ago

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.0

6 years ago