diff --git a/build/webpack.config.js b/build/webpack.config.js index 161dbc8811..c1067cfd52 100644 --- a/build/webpack.config.js +++ b/build/webpack.config.js @@ -8,7 +8,9 @@ const babelOptions = { module.exports = { mode: 'production', - entry: path.resolve(__dirname, '../packages/element-plus/index.ts'), + entry: { + index: path.resolve(__dirname, '../packages/element-plus/index.ts'), + }, output: { path: path.resolve(__dirname, '../lib'), publicPath: '/',