瀏覽代碼

Remove apparently unnecessary tooltip bootstrap scss

JC Brand 4 年之前
父節點
當前提交
fde371b90f
共有 2 個文件被更改,包括 1 次插入2 次删除
  1. 0 1
      src/shared/styles/index.scss
  2. 1 1
      webpack.common.js

+ 0 - 1
src/shared/styles/index.scss

@@ -23,7 +23,6 @@
     @import "bootstrap/scss/alert";
     @import "bootstrap/scss/media";
     @import "bootstrap/scss/close";
-    @import "bootstrap/scss/tooltip";
     @import "bootstrap/scss/popover";
     @import "bootstrap/scss/utilities";
 }

+ 1 - 1
webpack.common.js

@@ -1,7 +1,7 @@
 /* global __dirname, module, process */
 const path = require('path');
 
-let bootstrap_ignore_modules = ['carousel', 'scrollspy'];
+let bootstrap_ignore_modules = ['carousel', 'scrollspy', 'tooltip', 'toast'];
 
 const BOOTSTRAP_IGNORE_MODULES = (process.env.BOOTSTRAP_IGNORE_MODULES || '').replace(/ /g, '').trim();
 if (BOOTSTRAP_IGNORE_MODULES.length > 0) {