0.0.10 • Published 8 years ago

seajs-webpack-plugin v0.0.10

Weekly downloads
1
License
ISC
Repository
-
Last release
8 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

8 years ago

0.0.8

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago