20 lines
447 B
JavaScript
20 lines
447 B
JavaScript
/**
|
|
* @description webpack 配置,开发环境
|
|
* @author wangfupeng
|
|
*/
|
|
|
|
// const path = require('path')
|
|
const { smart } = require('webpack-merge')
|
|
const CommonConf = require('./webpack.common')
|
|
const { distPath } = require('./myPath')
|
|
|
|
module.exports = smart(CommonConf, {
|
|
mode: 'development',
|
|
output: {
|
|
filename: 'wangEditor.js',
|
|
path: distPath,
|
|
library: 'wangEditor',
|
|
libraryTarget: 'umd',
|
|
},
|
|
})
|