create cdn-main
This commit is contained in:
parent
71df31eda9
commit
5527157568
@ -7,8 +7,11 @@ module.exports = {
|
|||||||
path: path.resolve(__dirname, 'dist'),
|
path: path.resolve(__dirname, 'dist'),
|
||||||
filename: 'main.js',
|
filename: 'main.js',
|
||||||
clean: true,
|
clean: true,
|
||||||
library: 'CGSelect',
|
library: {
|
||||||
libraryTarget: 'umd',
|
name: 'CGSelect',
|
||||||
|
type: 'window',
|
||||||
|
export: 'default',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
// devServer: {
|
// devServer: {
|
||||||
// open: true,
|
// open: true,
|
||||||
|
Loading…
Reference in New Issue
Block a user