You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

21 lines
513 B

/**
* @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',
libraryExport: 'default',
},
devtool: 'eval-source-map',
})