create cdn-main

This commit is contained in:
MaxOvs19 2023-04-13 12:46:11 +03:00
parent 71df31eda9
commit 5527157568

View File

@ -7,8 +7,11 @@ module.exports = {
path: path.resolve(__dirname, 'dist'),
filename: 'main.js',
clean: true,
library: 'CGSelect',
libraryTarget: 'umd',
library: {
name: 'CGSelect',
type: 'window',
export: 'default',
},
},
// devServer: {
// open: true,