diff --git a/build/build-style-entry.js b/build/build-style-entry.js index 1b885567c..cae6b83bd 100644 --- a/build/build-style-entry.js +++ b/build/build-style-entry.js @@ -6,7 +6,15 @@ const fs = require('fs-extra'); const path = require('path'); const components = require('./get-components')(); const dependencyTree = require('dependency-tree'); -const whiteList = ['info', 'icon', 'loading', 'cell', 'cell-group', 'button']; +const whiteList = [ + 'info', + 'icon', + 'loading', + 'cell', + 'cell-group', + 'button', + 'overlay' +]; const dir = path.join(__dirname, '../es'); components.forEach(component => { @@ -22,7 +30,12 @@ function destEntryFile(component, filename, ext = '') { ); const esEntry = path.join(dir, component, `style/${filename}`); - const libEntry = path.join(__dirname, '../lib', component, `style/${filename}`); + const libEntry = path.join( + __dirname, + '../lib', + component, + `style/${filename}` + ); const esContent = deps.map(dep => `import '${dep}';`).join('\n'); const libContent = deps.map(dep => `require('${dep}');`).join('\n'); diff --git a/packages/contact-edit/index.vue b/packages/contact-edit/index.vue index ca3e72f42..3221acf95 100644 --- a/packages/contact-edit/index.vue +++ b/packages/contact-edit/index.vue @@ -42,8 +42,8 @@