0.0.10 • Published 9 years ago

seajs-webpack-plugin v0.0.10

Weekly downloads
1
License
ISC
Repository
-
Last release
9 years ago

seajs-webpack-plugin

将webpack打包生成的文件转换成seajs模块文件。

安装:

npm:

  npm install seajs-webpack-plugin --save

使用:

webpack.config.js

var seajsWebpackPlugin = require('seajs-webpack-plugin');


module.exports = {

  output: {

    // ..

    libraryTarget: 'seajs'

  },

  // 插件
  plugins: [
    new seajsWebpackPlugin()
  ]
}
0.0.10

9 years ago

0.0.8

9 years ago

0.0.7

9 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago